![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #16 |
|
Yep, pins 1, 5, 7, 8, 9 & 10 on the LCD connector are all grounded. My thoughts are: a) I am selecting something wrong when saving the hex file (pic attached) or b) LCD unit is faulty The PIC controller is definately functioning, I have tested 2 units and other programs work fine. I have made sure the power to the PIC is going through a regulator with 2 caps to make sure that its nothing to do with power. (I have heard of people having issues with PICs resetting if the Vdd is not isolated) Is it possible that this particular PIC requires some other setting or code to get it to work? | |
| |
| | #17 |
|
Check my LCD interfacing code in mikroC here Experiments with PIC16F628A: Experiment No. 3: LCD Interface in 4-bit Mode - Raj Experiments with PIC16F628A | |
| |
| | #18 |
|
Thanks Be80be and Rajbex, I've monitored traffic on all the pins used and the screen is reacting. All I am getting is a row of blocks on row 1 and 3. It is flashing on and off every 2 seconds or so (as you would expect from the code that Raj linked above). I think I've come to the conclusion that my LCD is buggered. I've sent for another couple. It is most frustrating, but thanks heaps for your suggestions. | |
| |
| | #19 | |
| Quote:
include the library file for lcd...you can also ground th Vee pin in the lcd... | ||
| |
|
| Tags |
| lcd, mikroc, program |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Mikroc program problem | einton | Micro Controllers | 7 | 22nd July 2009 12:20 PM |
| MMC with PIC18F4550 using MiKroC | Nizar | Micro Controllers | 3 | 28th February 2009 02:14 PM |
| i need mikroC code | ouranix | Micro Controllers | 0 | 21st February 2009 02:31 PM |
| PIC Programming in MikroC | 00morrisd | Micro Controllers | 3 | 11th February 2009 10:22 PM |
| mikroC lib troubble | Kryten | Micro Controllers | 17 | 28th May 2008 09:56 AM |