
16
Command string examples :
EX1: To reset all displays : Execute the ‘R’-command
Data to be sent to serial port :
Chr$(13) (Init command)
Chr$(8) (Don’t care)
Chr$(82) “R” = Reset command
Chr$(1) (Don’t care)
Chr$(152) (Checksum : 2-compliment of the sum of the 4 previous bytes)
EX2: To display a ‘0’ on all units with address ‘1’ : Execute the ‘A’-command and supply address ‘1’.
Next, execute the ‘S’ (strobe) command.
Data to be sent to serial port :
Chr$(13) (Init command)
Chr$(1) (Address 1)
Chr$(65) “A” = ASCII command
Chr$(48) (ASCII value of zero = 48)
Chr$(129) (Checksum : 2-compliment of the sum of the 4 previous bytes)
100ms pause
Chr$(13) (Init command)
Chr$(8) (Don’t care)
Chr$(83) “S” = strobe command
Chr$(1) (Don’t care)
Chr$(151) (Checksum : 2-compliment of the sum of the 4 previous bytes)
Hook-up
Komentarze do niniejszej Instrukcji