??? 07/15/06 22:09 Modified: 07/15/06 22:11 Read: times |
#120307 - the difference is... Responding to: ???'s previous message |
Steve M. Taylor said:
Russell Bull said:
write_nibble: mov c,A.0 mov LCD_D0,c mov c,A.1 mov LCD_D1,c mov c,A.2 mov LCD_D2,c mov c,A.3 mov LCD_D3,c ret SWAP A MOV P2,A RET Steve, your's overwrites the upper nibble of P2. It might or might not matter. JW PS. Btw. Russell, you can't mov c,A.x (try to assemble it, hint, it needs to be mov c,DIRECT_BIT_ADDRESSABLE.x - you did it again: A is not a register... :-) ) And, the rotation is 1 byte long, while mov c,yyy.x is 2 bytes... ;-) Sorry, I know '51 is not your primary interest, sorry.... |
Topic | Author | Date |
lcd code not working in bit mode. | 01/01/70 00:00 | |
correction=>the code here is for 4bit mode | 01/01/70 00:00 | |
A few possible problems | 01/01/70 00:00 | |
a few blind shots | 01/01/70 00:00 | |
Whats wrong with | 01/01/70 00:00 | |
the difference is... | 01/01/70 00:00 | |
You can do | 01/01/70 00:00 | |
So mask it | 01/01/70 00:00 | |
Yes I realise this! | 01/01/70 00:00 | |
I didn't know that... | 01/01/70 00:00 | |
A.x | 01/01/70 00:00 | |
8bit mode works by entering 38h only once | 01/01/70 00:00 | |
But you're not using 8 bit mode. | 01/01/70 00:00 | |
LCD datasheets ... | 01/01/70 00:00 | |
A contentious issue! | 01/01/70 00:00 | |
cpu and speed | 01/01/70 00:00 | |
Oakely Doakely | 01/01/70 00:00 | |
Clear LCD delay too short? | 01/01/70 00:00 | |
Check this also | 01/01/70 00:00 | |
delays are just fine | 01/01/70 00:00 | |
Did you try... | 01/01/70 00:00 | |
Look here | 01/01/70 00:00 | |
also note that... | 01/01/70 00:00 | |
thank you Jon![]() | 01/01/70 00:00 | |
You Sure | 01/01/70 00:00 |