This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
mtrcp [2014/02/10 12:22] jap created |
mtrcp [2014/02/10 12:25] jap |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Model Train Communmication Protocol - NonName ==== | + | ==== Model Train Communication Protocol - NoName ==== |
=== RF interface === | === RF interface === | ||
Line 10: | Line 10: | ||
| 0 | Control | Bit map | TBD | TBD | | | 0 | Control | Bit map | TBD | TBD | | ||
| 1 | Target speed and direction | Signed char | TBD | -127 .. +127, 0 = stop | | | 1 | Target speed and direction | Signed char | TBD | -127 .. +127, 0 = stop | | ||
- | | 2 | Acceleration | Signed char | TBD | -127 .. +127 | | + | | 2 | Acceleration | Signed char | TBD | -127 .. +127, Speed steps per second | |
| 3 | Lights | Bit map | TBD | TBD | | | 3 | Lights | Bit map | TBD | TBD | | ||
Line 24: | Line 24: | ||
| 7 | Motor Current (optional) | Unsigned char | 0.01A | 0 .. 2.55A | | | 7 | Motor Current (optional) | Unsigned char | 0.01A | 0 .. 2.55A | | ||
- | + | To query data from Locomotive, empty message may be transmitted. |