Page 1 of 1

LCD Can't work

PostPosted: Tue Aug 13, 2013 10:49 am
by Enyuin
I am using SK40C and I have downloaded the code from the cytron website to try the lcd code. But, it just can't work. BTW, I have changed the header file to p18f4550 instead of p18f4520 since i am using pic18f4550.

Re: LCD Can't work

PostPosted: Tue Aug 13, 2013 11:44 am
by robosang
Can the code works with PIC18F4550 with just header file change?

I don think that is the only thing you need to change, how about the configuration bits? That hold the oscillator configuration, without correct setting, not a single instruction can be executed.

Re: LCD Can't work

PostPosted: Tue Aug 13, 2013 3:46 pm
by Enyuin
Finally it works. The code is correct.The mistake i made is forget to put crystal on the circuit, that's why it can't display anything.
Thanks for the help though.