I am sending following HEX string E0 A5 E0 FB 00 to RS232 port
00 is Interger A and must be 8 bit HEX number. I use interger A for counting. Following PRINT command works ok but not the last part
CHR$(A)
PRINT #1 CHR$(&HE0);CHR$(&HA5);CHR$(&HE0);CHR$(&HFB);CHR$(A);
I am using this to display counting on a 7 segment display with RS232 port.
Interger A does not show the right number, why is that ?
The RS232 7 segment display use the following input format
&HE0,&HA5,&HE0,&HFB,HIGH_BYTE,LOW_BYTE
The interger A should go to HIGH_BYTE,LOW_BYTE