- NOTE as of 10/4/18 This repository has moved to GitLab as private. I may choose to mirror it here in the future.
This repository holds the code, libraries, and README created for use with a out of the box arduino uno.
This command is used to set an output channel to a specified state. The state can be either HIGH
or LOW
.
1. To SET an individual output HIGH
.
- Expected input command:
SOUT,3,1
- Expected response:
SOUT,3,1
ACK,1
This command is used to toggle an output channel HIGH
or LOW
, depending on the outputs current state.
1. To toggle an individual output:
- Expected input command:
TOUT,2
- Expected response:
TOUT,2
ACK,1
This command is used to pulse an output channel HIGH
for a specified time period less than 10,000ms.
1. To pulse an individual output for 58ms:
- Expected input command:
POUT,5,58
- Expected response:
POUT,5,58
ACK
This command is meant for individual output state queries or to display a table with each output and its corrisponding state.
1. To query an individual output:
- Expected input command:
STAT,1
- Expected response:
STAT,1
ACK,<OUTPUT 1 PIN STATE>
2. To query all 5 outputs, simply send: STAT
- Expected input command: STAT
- Expected response:
STAT,ACK
Output | State
-------|-------
O1 | 0
O2 | 1
O3 | 0
O4 | 0
O5 | 0
This command is used to print the scan rate of the previous microprocessor loop.
This command is used to print debuging statments to the serial monitor. It can be very usefull to troubleshooting the firmware.