From 44af7e0559266dd628123fe71afe049d94476185 Mon Sep 17 00:00:00 2001
From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com>
Date: Mon, 11 Apr 2022 21:08:16 +0200
Subject: [PATCH] Update communication.md
---
docs/communication.md | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/docs/communication.md b/docs/communication.md
index 85b2dd2..7892f25 100644
--- a/docs/communication.md
+++ b/docs/communication.md
@@ -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** oggle | **i** ncrease | **d** decrease ]
+- on
+- off