I also tried every used pin with an LED. All of the is working and connected properly to the LCDs pins on a breadboard.
Already said - post #5.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?
Not on topic -- but for those of us concerned with speed, aligning nibbles makes a big difference with respect to instruction cycles consumed.I don't see how changing pins makes life any easier except with the actual wiring or PCB design.
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).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.
Arrrg! Another reason to add to my list why I hate compilers for embedded programming.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).
Yup! Same goes for 3rd party libraries and RTOSs too.Arrrg! Another reason to add to my list why I hate compilers for embedded programming.
It is likely not the compiler but a function being used.Arrrg! Another reason to add to my list why I hate compilers for embedded programming.
| Thread starter | Similar threads | Forum | Replies | Date |
|---|---|---|---|---|
| U | pic16f690 - LCD works in proteus but not on breadboard | Microcontrollers | 7 | |
|
|
Help with PIC16f690 and pin address -- CCS C compiler | Microcontrollers | 7 | |
|
|
Help with PWM and servo with Pic16F690 | Microcontrollers | 13 | |
| C | Timer 2 PIC16F690 | Homework Help | 8 | |
|
|
Question Regarding Pic16F690. | Homework Help | 1 |