LCD Can't work

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

LCD Can't work

Postby Enyuin » Tue Aug 13, 2013 10:49 am

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.
Enyuin
Freshie
 
Posts: 7
Joined: Thu Jul 18, 2013 1:03 pm

Re: LCD Can't work

Postby robosang » Tue Aug 13, 2013 11:44 am

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.
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: LCD Can't work

Postby Enyuin » Tue Aug 13, 2013 3:46 pm

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.
Enyuin
Freshie
 
Posts: 7
Joined: Thu Jul 18, 2013 1:03 pm


Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 2 guests

cron