Hexadecimal codes
Denis
Posts: 163
Hi
I have to program a Vidikron plasma. In the manual all serial codes are listed as Hexadecimal code ( ex: 9FH 80H 60H 4EH 00H CDH )
How I have to write my code to get correct command ?
SEND_STRING dvPLASMA, "$9FH,$80H,$60H,$4EH,$00H,$CDH" ?
OR
SEND_STRING dvPLASMA, "$9F,$80,$60,$4E,$00,$CD" ?
I have to program a Vidikron plasma. In the manual all serial codes are listed as Hexadecimal code ( ex: 9FH 80H 60H 4EH 00H CDH )
How I have to write my code to get correct command ?
SEND_STRING dvPLASMA, "$9FH,$80H,$60H,$4EH,$00H,$CDH" ?
OR
SEND_STRING dvPLASMA, "$9F,$80,$60,$4E,$00,$CD" ?
0
Comments
The first option you posted won't compile and will generate a syntax error.
You're 2nd option is correct:
SEND_STRING dvPLASMA, "$9F,$80,$60,$4E,$00,$CD"
The $ denotes Hex for AMX.
Thanks Joe !
One thing...I don't know why I don't try this before post this thread, I'm comfused...........
Thanks guys
I appreciate your specifications for " H "