by Pev » Fri Mar 03, 2006 12:53 am
by Pev
Fri Mar 03, 2006 12:53 am
Thank you all. I have now got the ETX port working - was one funny though, I connected my serial LCD to it and set it up for 9600, RS232. No joy just got garbage as before. So after what seemed like hours I risked setting it to TTL levels. BINGO!!!!!!
So one silly question, it appears the ETX port is TTL levels, but the manual states RS232 (unless I misread it). Anyone know the answer for sure?
Sorry about the pic quality but it does show it working:
Code was :
DIM CHAR AS BYTE
ETX 9600,&HFE 'sets LCD to CMD mode
ETX 9600,&H58 ' clears LCD screen
CHAR="T"
ETX 9600, CHAR ' displays character T
and so on
Is all a bit clunky but it works
Pev
Thank you all. I have now got the ETX port working - was one funny though, I connected my serial LCD to it and set it up for 9600, RS232. No joy just got garbage as before. So after what seemed like hours I risked setting it to TTL levels. BINGO!!!!!!
So one silly question, it appears the ETX port is TTL levels, but the manual states RS232 (unless I misread it). Anyone know the answer for sure?
Sorry about the pic quality but it does show it working:
Code was :
DIM CHAR AS BYTE
ETX 9600,&HFE 'sets LCD to CMD mode
ETX 9600,&H58 ' clears LCD screen
CHAR="T"
ETX 9600, CHAR ' displays character T
and so on
Is all a bit clunky but it works
Pev