Board Control Commands - ku-fpg/haskino GitHub Wiki
Board Control Commands
Set PinMode
| Cmd | Pin# | Mode |
|---|---|---|
| 0x10 | 0xXX | 0x00/0x01/0x02 |
Fields
Mode: 0x00 - INPUT, 0x01 - OUTPUT, 0x02 - INPUT_PULLUP
Delay Milliseconds
| Cmd | Millis Byte 0 LSB | Millis Byte 1 | Millis Byte 2 | Millis Byte 3 MSB |
|---|---|---|---|---|
| 0x11 | 0xXX | 0xXX | 0xXX | 0xXX |
Fields
Millis - Number of Milliseconds to Delay a Task (32 bits)
Delay Microseconds
| Cmd | Micros LSB | Micros MSB |
|---|---|---|
| 0x12 | 0xXX | 0xXX |
Fields
Micros - Number of Microseconds to Delay a Task (16 bits)
System Reset
| Cmd |
|---|
| 0x13 |
Fields
None