Update communication.md
This commit is contained in:
parent
34daed07d8
commit
44af7e0559
1 changed files with 18 additions and 7 deletions
|
@ -11,9 +11,20 @@ The following table describes the bit pattern for a successful communication wit
|
||||||
## Message Types
|
## Message Types
|
||||||
|
|
||||||
| Code | Purpose |
|
| Code | Purpose |
|
||||||
| ---- | --------------- |
|
| ---- | -------------------- |
|
||||||
| 0 | Data |
|
| 0 | Light Data |
|
||||||
| 1 | Control |
|
| 1 | Control Signal |
|
||||||
| 2 | Status Messages |
|
| 2 | Status Messages |
|
||||||
| 3 | Confirmation |
|
| 3 | Confirmation Message |
|
||||||
| 4 | Debug |
|
| 4 | Debug Info |
|
||||||
|
|
||||||
|
### Light Data
|
||||||
|
|
||||||
|
- 1-Byte-block per lamp: 0-255
|
||||||
|
- Index of lamp determinded by order
|
||||||
|
|
||||||
|
### Control Signal
|
||||||
|
|
||||||
|
- Index Byte + [ **t** <sub>oggle</sub> | **i** <sub>ncrease</sub> | **d** <sub>decrease</sub> ]
|
||||||
|
- on
|
||||||
|
- off
|
||||||
|
|
Reference in a new issue