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