Add Commands
parent
00afa460c0
commit
6f592340e0
25
Commands.md
Normal file
25
Commands.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Commands
|
||||||
|
This page contains the valid commands that can be sent and how they are formatted.
|
||||||
|
|
||||||
|
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 |
|
||||||
|
|
||||||
|
## Complete command table
|
||||||
|
| command | description | note |
|
||||||
|
| :-- | :-- | :-- |
|
||||||
|
| 0x11 | Read config | |
|
||||||
|
| 0x12 | Read internal voltage | |
|
||||||
|
| 0x13 | Read external voltage | |
|
||||||
|
| 0x14 | Read temperature | |
|
||||||
|
| 0x15 | Read current fan speed | |
|
||||||
|
| 0x16 | Read bulk fan speed | |
|
||||||
|
| 0x21 | Write config | |
|
||||||
|
| 0x22 | Clear stored fan speed data | |
|
||||||
Loading…
Reference in New Issue
Block a user