Mike Perks suggested I try an I2C LCD instead of RS232 because of the much faster speed. I ordered a Newhaven Displays 4x20 white-on-blue, I2C-capable LCD. Works great with the ZX128ne using pins 11 and 12.
Newbie alert - don't expect clean, Zen-like code. My total time with the device and ZBasic is about 4 hours, including breadboard time.
--jim
Simple I2C output to 4x20 LCD
Simple I2C output to 4x20 LCD
- Attachments
-
- zx_I2C.bas
- (2.17 KiB) Downloaded 2995 times
Updated code
This is an update on the previous I2C LCD code that implements most, but not all of Don Kinzer's suggestions.
Thanks, Don. I'll get the single char and int output functions in there ASAP.
--jim
Thanks, Don. I'll get the single char and int output functions in there ASAP.
--jim
- Attachments
-
- zx_I2C_revB0.bas
- I2C LCD driver code (ZBasic) Rev B.0
- (2.29 KiB) Downloaded 3091 times