Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed X_NUCLEO_IHM03A1_for
Diff: canbus.hpp
- Revision:
- 3:a469bbd294b5
- Child:
- 19:231b8931cabc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/canbus.hpp Wed Feb 13 07:18:01 2019 +0000 @@ -0,0 +1,60 @@ +#if defined(canbusActive) + #if defined(M1) + const unsigned int RX_ID = 0x100; + const unsigned int TX_ID = 0x101; + const unsigned int TX_SI = 0x11A; + #define speedMaster + #endif + #if defined(M2) + const unsigned int RX_ID = 0x102; + const unsigned int TX_ID = 0x103; + #define mezzo + #endif + #if defined(M3) + const unsigned int RX_ID = 0x104; + const unsigned int TX_ID = 0x105; + #define seedSensor + #endif + #if defined(M4) + const unsigned int RX_ID = 0x106; + const unsigned int TX_ID = 0x107; + #define mezzo + #endif + #if defined(M5) + const unsigned int RX_ID = 0x108; + const unsigned int TX_ID = 0x109; + #endif + #if defined(M6) + const unsigned int RX_ID = 0x110; + const unsigned int TX_ID = 0x111; + #define mezzo + #endif + #if defined(M7) + const unsigned int RX_ID = 0x112; + const unsigned int TX_ID = 0x113; + #endif + #if defined(M8) + const unsigned int RX_ID = 0x114; + const unsigned int TX_ID = 0x115; + #define mezzo + #endif + #if defined(M9) + const unsigned int RX_ID = 0x116; + const unsigned int TX_ID = 0x117; + #endif + #if defined(M10) + const unsigned int RX_ID = 0x118; + const unsigned int TX_ID = 0x119; + #define mezzo + #endif + +// indirizzi validi per i comandi in broadcast + const unsigned int RX_Broadcast = 0x130; + const unsigned int TX_Broadcast = 0x131; + const unsigned int RX_Settings = 0x132; + const unsigned int RX_AngoloPh = 0x133; + const unsigned int RX_AngoloAv = 0x134; + const unsigned int RX_Quinconce = 0x135; + const unsigned int RX_QuincSinc = 0x11A; + const unsigned int RX_Configure = 0x11B; +#endif