As i didnt want to hijack a thread i thought id make another...
My Original Post was:
"Hey i just tried: **broken link removed**
I got it to work on a 18F2550! I was so excited when it worked lol. Now im off to alter it to my needs."
Im trying to add my lcd to this using 4 bit and the 2 wire trick by futz. The only issue i think im having is determining the speed of the clock. Im using a 20 MHz clock and these are my config bits on a 18F2550:
It is running at 48MHz and 12MHz instructions. The PLL has to be fed a 4MHz signal and so your 20MHz has to be divided by 5 (PLLDIV=5). This gives a PLL output of 96MHZ. The CPUDIV=OSC1_PLL2 is the 96MHz divided by two = 48MHz.
weird ... it works fine in debug mode but in running it straight the characters on LCD are not correct not even the length of characters. So what im going to do is introduce another pic into the project by communicating VIA USART or ill just make my own protocol.
Hey i own about 3 PIC18LF2550's and wanted to know how would i go about having this work with USB? Would i simple power the 3.3v Regulator from the 5v USB? What about input data. Does LF have 5v tolerance inputs?
Where can i get information on LF pics? I never seem to find any. Like its a legendary item lol