Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
duino-pi_protokol [2014/10/26 21:14] admin |
duino-pi_protokol [2014/11/10 02:17] admin |
||
---|---|---|---|
Line 3: | Line 3: | ||
---- | ---- | ||
- | Structure:\\ | + | The signal beginns with 4 diffrent characters (S,M,A,D) for stepper motor, gear motors, analog- and digital output and the number of the device. Followed by an other character for the attribut and the value. |
+ | |||
+ | Duino-Pi Code:\\ | ||
+ | [[https:// | ||
+ | |||
+ | structure:\\ | ||
character, number, character, number, .... return (" | character, number, character, number, .... return (" | ||
Line 25: | Line 30: | ||
**Digital**\\ | **Digital**\\ | ||
D = digital + number (1, | D = digital + number (1, | ||
- | V = value + number (0,1)\\ | + | S = value + number (0,1)\\ |
- | Example: | + | or\\ |
+ | F = flash + number 1\\ | ||
+ | Example: | ||
+ | D1F1 (digital: 1, flash)\\ | ||
+ | |||
+ | **Preset**\\ | ||
+ | P = preset + number(1, | ||
+ | Preset 0 = turn off everything\\ | ||
+ | Preset 1 = turn on everything\\ |