SendData:
pinA0 = 0
pinData = varByte
pinWR = 0
@ nop ' <--- ADD
pinWR = 1
return
SendCommand:
pinA0 = 1
pinData = varCommand
pinWR = 0
@ nop ' <--- ADD
pinWR = 1
return
The [@ NOP] turns out to be very important for high-speed display, it corrects a timing issue. Without it, there is a sort of 'echo' on the LCD when you display characters extremely fast (my initial tests were keyboard-type speeds).
Robert
![]()
Bookmarks