KMTronicin Raspberry Pi ohjelma ------------------------------- USB One Relay commands: FF 01 00 - OFF command FF 01 01 - ON command FF 01 03 - Status request command > FF 01 xx - Reply from relay where xx is status: 01 - Relay is ON, 00 - Relay is OFF aluksi: Set baudrate to 9600b/s: # stty 9600 -F /dev/ttyUSB0 Switch ON relay: ./relayControl -n /dev/ttyUSB0 Switch OFF relay: ./relayControl -f /dev/ttyUSB0 Status request: ./relayControl -s /dev/ttyUSB0 (vastaa FF 01 00 tai FF 01 01)