PIC16f690 2x16 LCD not working.

MrChips

Joined Oct 2, 2009
35,124
Getting the CONTRAST on the LCD set to something appropriate is one of those first steps that you need to fix. If you don't then the LCD will mask all your efforts to getting it working.

On the LCD, connect a 1kΩ resistor between pin-1 (VSS) and pin-3 (VEE).
Do you see black rectangles on the LCD screen?
 

AlbertHall

Joined Jun 4, 2014
12,652
Getting the CONTRAST on the LCD set to something appropriate is one of those first steps that you need to fix. If you don't then the LCD will mask all your efforts to getting it working.

On the LCD, connect a 1kΩ resistor between pin-1 (VSS) and pin-3 (VEE).
Do you see black rectangles on the LCD screen?
Already said - post #5.
And TS has this sorted - post #20.
 

JohnInTX

Joined Jun 26, 2012
4,787
Thanks for everybody.
Its working. :)

http://etepic.com/index.php?topic=692.0
I used this library.

Still dont understand why the compilers inner example didn't work.

Thanks again.
You helped a lot.
Glad you got it working! Myself, I learned after some research that the reason you don't need to init the IO (TRIS etc) is that the ccs compiler writes to the TRIS bit and PORT bit on each IO when you use functions like output_low(xx).
Interesting.
 

joeyd999

Joined Jun 6, 2011
6,456
Myself, I learned after some research that the reason you don't need to init the IO (TRIS etc) is that the ccs compiler writes to the TRIS bit and PORT bit on each IO when you use functions like output_low(xx).
Arrrg! Another reason to add to my list why I hate compilers for embedded programming.
 
Top