I used a meter and found +5v, Gnd on the ZXPand+ idc10 cable. I'm using a Parallax 2x16 Serial LCD with it having 4 modes (test, 2400, 9600, 19200).The LCD has pins for 5vdc, God and RX. I connected the i'dc 10 connectors pin 9 TX to the LCD RX as well as 5vdc and gnd pins.
When the LCD is set to 19200 via the mode switch on the LCD, I see some characters like GV on the top row and v5 or something on the second row upon power up of ZXPand+ with LCD attached. At 2400 and 9600 settings the LCD screen is blank like I would expect. I'm receiving another Parallax 4x20 serial LCD in the mail today which should operate identically.
How do I send a HIGH out from the ZXPand+ TX ?
Is there anyway to send the ZXPand+ serial TX pin Hex or Decimal commands besides text characters?
ZXPAND "PUT SER *16514 32"
which would send 32 bytes stored in a line 1 rem statment...
least thats how i understand it..
p.s just a thought for SirMorris what about... PUT HEX 001122334455...
I finally got it working meaning interfacing a Parallax Serial LCD to ZXPand+ on the serial port (IDC 10).
This is showing a 2x16 Parallax LCD display.
I also have a bigger Parallax 4x20 LCD display that arrived today and the code works the same.
- (7.13 MiB) Downloaded 354 times
Is there a time constraint on the high/low protocol for initialising the interface? Would sending a value with one bit set do the trick? like 00000010 binary.
It appears there is about 4.8vdc on TX when ZXPand is first turned on but it causes some strange characters and tones (LCD has a piezospeaker fir music notes). I would think this should cause it to initialize but there is something I'm missing or not understanding.
I tried using ZXPAND "OPE SER *16514 1". Where the REM Statement had a value for 255 for a HIGH but no go.