??? 04/28/08 19:58 Read: times |
#154126 - :) some improvement Responding to: ???'s previous message |
Thanks again for replying
Let me have a go at addressing your points; 1. While i agree, it was my attempt at adding a some sort of feature where i could see what has happening with the microcontroller and i belive it does it, at least to some extent. All its going to tell me is that if the uC has hung. And its told me that. It certainly works even if the LCD is unplugged the LED will flash. 3. I see what your saying, i've not implemnted the code as you've suggested, the led now keeps blinking which is at least a step forward i guess;P WAIT_LCD: mov LCDDATA,0FFh ;make P0.7 input port CLR RS ;RS=0 access command SETB RW ;R/W=1 read command LCD_WAIT_BACK: SETB EN ;E=1 for H-to-L pulse NOP NOP NOP NOP MOV A,LCDDATA CLR EN ;E=0 H-to-l pulse JB ACC.7,LCD_WAIT_BACK ;stay until busy flag=0 RET 4. See Above Well i appreciate your comments and suggestions, seems to have made an improvement, any more??:) Im going to have another look at the initialization procedure, looking at the datasheet for the samsung controller, its not clear ( unless i've missed it) if there is an order of initilisation i.e function set- display on/off |
Topic | Author | Date |
Damaged LCD? | 01/01/70 00:00 | |
Some code comments first. | 01/01/70 00:00 | |
Thanks... | 01/01/70 00:00 | |
Well if you need it later... | 01/01/70 00:00 | |
Hmmpf. | 01/01/70 00:00 | |
Multiple Problems | 01/01/70 00:00 | |
My Bad!!! | 01/01/70 00:00 | |
:) some improvement | 01/01/70 00:00 | |
try to initialise at startup | 01/01/70 00:00 | |
Wahey...... O not quite | 01/01/70 00:00 | |
Hex value | 01/01/70 00:00 | |
Check your soldering. | 01/01/70 00:00 | |
Oops | 01/01/70 00:00 | |
Wahey..... o not AGain | 01/01/70 00:00 | |
Leading 0 | 01/01/70 00:00 | |
Leading zero | 01/01/70 00:00 | |
Some help | 01/01/70 00:00 | |
Cheers guys, all working now | 01/01/70 00:00 | |
Why You Were Content Dependant![]() | 01/01/70 00:00 | |
The filled in blocks indicate.. | 01/01/70 00:00 | |
No hardware but software problem | 01/01/70 00:00 |