FIRST channel commands: OFF command : FF 01 00 (HEX) or 255 1 0 (DEC) ON command : FF 01 01 (HEX) or 255 1 1 (DEC) (1) Verify Python Interpreter Availability with ‘helloworld.py’ #!/usr/bin/python # Hello world python program print “Hello World!”; (2) Create ‘kmtronic_usb_relay_test.py” file (3) Copy and paste code: #!/usr/bin/python . . .
How to send bytes to serial port in Python | Control KMtronic USB Relay board example
