Update communication.md

This commit is contained in:
GHOSCHT 2022-04-11 21:08:16 +02:00 committed by GitHub
parent 66da65a072
commit 5e3ce65cbc

View file

@ -10,10 +10,21 @@ The following table describes the bit pattern for a successful communication wit
## Message Types
| Code | Purpose |
| ---- | --------------- |
| 0 | Data |
| 1 | Control |
| 2 | Status Messages |
| 3 | Confirmation |
| 4 | Debug |
| Code | Purpose |
| ---- | -------------------- |
| 0 | Light Data |
| 1 | Control Signal |
| 2 | Status Messages |
| 3 | Confirmation Message |
| 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