summaryrefslogtreecommitdiff
path: root/MessageSpecification.md
diff options
context:
space:
mode:
authorSebastian Muszytowski <sebastian@muszytowski.net>2016-01-27 22:06:27 +0100
committerSebastian Muszytowski <sebastian@muszytowski.net>2016-01-27 22:06:27 +0100
commitbbfe3c33f376a5883fff7ca835e1fbe5985e7ffc (patch)
tree30e0afcee74e93d9c664277c195201179f84b93e /MessageSpecification.md
parentb07679771f1c59ed623ae5ad7f7baff5b0ba9b9e (diff)
adjust message specification accordingly
Diffstat (limited to 'MessageSpecification.md')
-rw-r--r--MessageSpecification.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/MessageSpecification.md b/MessageSpecification.md
index 9ab64f0..122abc1 100644
--- a/MessageSpecification.md
+++ b/MessageSpecification.md
@@ -36,16 +36,19 @@ XXXX XXXX XXXX XXXX (MSB -> LSB)
---- (reserved)
```
+The speed and delay ranges from a numeric value from 0 (0000) to 15 (1111). The higher the number, the faster the speed and the longer the delay. A direction of 0 (0000) specifies a left direction, a direction of 1 (0001) specifies a right direction.
+
##### ANIMATION METADATA
-A *`ANIMMETA`* is a two byte (16 bit) length metadata field for animation type pattern. It encodes the frame rate in the first byte and the delay in the second byte.
+A *`ANIMMETA`* is a two byte (16 bit) length metadata field for animation type pattern. It encodes the frame rate in the lower nibble of the first byte and the delay in the lower nibble of the second byte.
```
-XXXXXXXX XXXXXXXX
+0000XXXX 0000XXXX
<------> <------>
SPEED DELAY
```
+The speed and delay ranges from a numeric value from 0 (0000) to 15 (1111).
## Message format
The message transmitted has to follow the following diagram: