Francesco Pistone
/
FORIGO_Modula_V6_R2C_DE_HwV5
vo
canbus.hpp@0:1e09cd7d66b4, 2018-06-13 (annotated)
- Committer:
- nerit
- Date:
- Wed Jun 13 08:52:42 2018 +0000
- Revision:
- 0:1e09cd7d66b4
- Child:
- 6:3fca0ca1949e
Modula V6 double encoder with quinconce
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nerit | 0:1e09cd7d66b4 | 1 | #if defined(canbusActive) |
nerit | 0:1e09cd7d66b4 | 2 | #if defined(M1) |
nerit | 0:1e09cd7d66b4 | 3 | const unsigned int RX_ID = 0x100; |
nerit | 0:1e09cd7d66b4 | 4 | const unsigned int TX_ID = 0x101; |
nerit | 0:1e09cd7d66b4 | 5 | const unsigned int TX_SI = 0x11A; |
nerit | 0:1e09cd7d66b4 | 6 | #define speedMaster |
nerit | 0:1e09cd7d66b4 | 7 | #endif |
nerit | 0:1e09cd7d66b4 | 8 | #if defined(M2) |
nerit | 0:1e09cd7d66b4 | 9 | const unsigned int RX_ID = 0x102; |
nerit | 0:1e09cd7d66b4 | 10 | const unsigned int TX_ID = 0x103; |
nerit | 0:1e09cd7d66b4 | 11 | #define mezzo |
nerit | 0:1e09cd7d66b4 | 12 | #endif |
nerit | 0:1e09cd7d66b4 | 13 | #if defined(M3) |
nerit | 0:1e09cd7d66b4 | 14 | const unsigned int RX_ID = 0x104; |
nerit | 0:1e09cd7d66b4 | 15 | const unsigned int TX_ID = 0x105; |
nerit | 0:1e09cd7d66b4 | 16 | #endif |
nerit | 0:1e09cd7d66b4 | 17 | #if defined(M4) |
nerit | 0:1e09cd7d66b4 | 18 | const unsigned int RX_ID = 0x106; |
nerit | 0:1e09cd7d66b4 | 19 | const unsigned int TX_ID = 0x107; |
nerit | 0:1e09cd7d66b4 | 20 | #define mezzo |
nerit | 0:1e09cd7d66b4 | 21 | #endif |
nerit | 0:1e09cd7d66b4 | 22 | #if defined(M5) |
nerit | 0:1e09cd7d66b4 | 23 | const unsigned int RX_ID = 0x108; |
nerit | 0:1e09cd7d66b4 | 24 | const unsigned int TX_ID = 0x109; |
nerit | 0:1e09cd7d66b4 | 25 | #endif |
nerit | 0:1e09cd7d66b4 | 26 | #if defined(M6) |
nerit | 0:1e09cd7d66b4 | 27 | const unsigned int RX_ID = 0x110; |
nerit | 0:1e09cd7d66b4 | 28 | const unsigned int TX_ID = 0x111; |
nerit | 0:1e09cd7d66b4 | 29 | #define mezzo |
nerit | 0:1e09cd7d66b4 | 30 | #endif |
nerit | 0:1e09cd7d66b4 | 31 | #if defined(M7) |
nerit | 0:1e09cd7d66b4 | 32 | const unsigned int RX_ID = 0x112; |
nerit | 0:1e09cd7d66b4 | 33 | const unsigned int TX_ID = 0x113; |
nerit | 0:1e09cd7d66b4 | 34 | #endif |
nerit | 0:1e09cd7d66b4 | 35 | #if defined(M8) |
nerit | 0:1e09cd7d66b4 | 36 | const unsigned int RX_ID = 0x114; |
nerit | 0:1e09cd7d66b4 | 37 | const unsigned int TX_ID = 0x115; |
nerit | 0:1e09cd7d66b4 | 38 | #define mezzo |
nerit | 0:1e09cd7d66b4 | 39 | #endif |
nerit | 0:1e09cd7d66b4 | 40 | #if defined(M9) |
nerit | 0:1e09cd7d66b4 | 41 | const unsigned int RX_ID = 0x116; |
nerit | 0:1e09cd7d66b4 | 42 | const unsigned int TX_ID = 0x117; |
nerit | 0:1e09cd7d66b4 | 43 | #endif |
nerit | 0:1e09cd7d66b4 | 44 | #if defined(M10) |
nerit | 0:1e09cd7d66b4 | 45 | const unsigned int RX_ID = 0x118; |
nerit | 0:1e09cd7d66b4 | 46 | const unsigned int TX_ID = 0x119; |
nerit | 0:1e09cd7d66b4 | 47 | #define mezzo |
nerit | 0:1e09cd7d66b4 | 48 | #endif |
nerit | 0:1e09cd7d66b4 | 49 | |
nerit | 0:1e09cd7d66b4 | 50 | // indirizzi validi per i comandi in broadcast |
nerit | 0:1e09cd7d66b4 | 51 | const unsigned int RX_Broadcast = 0x130; |
nerit | 0:1e09cd7d66b4 | 52 | const unsigned int TX_Broadcast = 0x131; |
nerit | 0:1e09cd7d66b4 | 53 | const unsigned int RX_Settings = 0x132; |
nerit | 0:1e09cd7d66b4 | 54 | const unsigned int RX_AngoloPh = 0x133; |
nerit | 0:1e09cd7d66b4 | 55 | const unsigned int RX_AngoloAv = 0x134; |
nerit | 0:1e09cd7d66b4 | 56 | const unsigned int RX_Quinconce = 0x135; |
nerit | 0:1e09cd7d66b4 | 57 | // const unsigned int RX_QuincSinc = 0x136; |
nerit | 0:1e09cd7d66b4 | 58 | const unsigned int RX_QuincSinc = 0x11A; |
nerit | 0:1e09cd7d66b4 | 59 | #endif |