diff --git a/Commands.md b/Commands.md index 2361b69..68a604d 100644 --- a/Commands.md +++ b/Commands.md @@ -3,15 +3,6 @@ This page contains the valid commands that can be sent and how they are formatte Given we use I2C for comms using hex as the commands are reasonable. -## Categories -The commands are divided into the following categories, with their own upper byte. -The "#" denotes that this is dependent upon the command. - -| hex | category | -| :- | :- | -| 0x1# | Read data | -| 0x2# | Write data | - ## Parameters ### Configuration | hex | config option | description | accepted values | @@ -31,13 +22,17 @@ The "#" denotes that this is dependent upon the command. | 0x01 | Fan 1 | | 0x02 | Fan 2 | -## Complete command table +## Read commands +| command | description | parameter | +| :-- | :-- | :-- | +| 0x11 | Read config | | +| 0x12 | Read voltage | Volage source | +| 0x13 | Read temperature | | +| 0x14 | Read current fan speed | Fan number | +| 0x15 | Read bulk fan speed | Fan number | + +## Write commands | command | description | parameter | | :-- | :-- | :-- | -| 0x11 | Read config | Config option | -| 0x12 | Read voltage | Voltage source | -| 0x13 | Read temperature | | -| 0x14 | Read current fan speed | fan number | -| 0x15 | Read bulk fan speed | fan number | | 0x21 | Write config | Config option | -| 0x22 | Clear stored fan speed data | fan number | \ No newline at end of file +| 0x22 | Clear stored fan speed data | Fan number | \ No newline at end of file