Page 1 of 1
LCD display
Posted: Fri Jul 29, 2011 3:16 pm
by NerdHerd
Hey guys,
Im trying to implement the analogue to digital conversion but nothings happening.It wont display anything on the screen.The LCD just shows the blocks when i power it up.After trying to get this to work i tried a simple program just to display some string on the LCD but even this didnt work..Any ideas as to what my problems could be?
Re: LCD display
Posted: Fri Jul 29, 2011 3:41 pm
by DavidA
Hello Nerdherd,
It would be easier if you posted your Flowcode program to allow us to check see if there may be any problems... in the meanwhile... check this FAQ topic which explains some common LCD problems.
http://www.matrixmultimedia.com/support ... ?f=3&t=419
Re: LCD display
Posted: Mon Aug 01, 2011 1:51 pm
by NerdHerd
Hey i have attached the flow code..After compiling to chip the LED on port A flashes but the LCD doesnt display anything
Re: LCD display
Posted: Mon Aug 01, 2011 2:05 pm
by DavidA
Hello,
Move the Start LCD macro outside your loop, it only needs running at the start. I have attached a modified file.
Additionally can you please post next time on the Flowcode V4 forums as the file you sent was a Flowcode V4 file.
Help on how to do this is available here:
http://www.matrixmultimedia.com/support ... f=29&t=602
Re: LCD display
Posted: Mon Aug 01, 2011 2:27 pm
by NerdHerd
Thanx il remember to post it there next time..i compiled your edited code to chip but still doesnt work its still giving me the flashing LED on port A but no display on the LCD.I played around with the contrast, oscillator frequency and all the other tips you gave in the link but nothing seems to help
Re: LCD display
Posted: Mon Aug 01, 2011 4:04 pm
by Benj
Hello,
Is the LED flashing at the expected rate? Eg 1 second on and 1 second off. I cant see anything specific from your program. What version of Flowcode are you currently running?
Re: LCD display
Posted: Tue Aug 02, 2011 8:40 am
by NerdHerd
Hi,
The LED is running at the expected rate.Im using version 4
Re: LCD display
Posted: Tue Aug 02, 2011 9:50 am
by Benj
Are you getting anything on the LCD eg garbled text or is the top line of characters staying as solid black squares? This is the default start up state. Is the jumper in the default position and making good contact? Other then this i'm not really sure what to suggest. Is your product still under warranty? Maybe its worth returning the display to us and we will test it here and send you a replacement.
Re: LCD display
Posted: Tue Aug 02, 2011 12:30 pm
by NerdHerd
Hey,
I managed to get it working..Turns out i powered the programming board incorrectly.I used LVP and powered the board with the USB cable instead of externally powering the board with the 14V.Once i used the external power supply it worked.Praying about it was the key to success

also managed to get my ADC and serial comms with the PC working.God is good thanx guys for the help
Regards
Re: LCD display
Posted: Fri Sep 02, 2011 12:19 pm
by Benj
Ah yes the good old LVP pin causing issues again. Glad you got it all working correctly.