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:
- 19:231b8931cabc
- Parent:
- 3:a469bbd294b5
--- a/canbus.hpp Fri Apr 12 12:20:05 2019 +0000
+++ b/canbus.hpp Tue Apr 23 16:01:54 2019 +0000
@@ -3,39 +3,47 @@
const unsigned int RX_ID = 0x100;
const unsigned int TX_ID = 0x101;
const unsigned int TX_SI = 0x11A;
+ const float ritAvv = 0.1f;
#define speedMaster
#endif
#if defined(M2)
const unsigned int RX_ID = 0x102;
const unsigned int TX_ID = 0x103;
+ const float ritAvv = 0.5f;
#define mezzo
#endif
#if defined(M3)
const unsigned int RX_ID = 0x104;
const unsigned int TX_ID = 0x105;
+ const float ritAvv = 1.0f;
#define seedSensor
#endif
#if defined(M4)
const unsigned int RX_ID = 0x106;
const unsigned int TX_ID = 0x107;
+ const float ritAvv = 1.5f;
#define mezzo
#endif
#if defined(M5)
const unsigned int RX_ID = 0x108;
const unsigned int TX_ID = 0x109;
+ const float ritAvv = 2.0f;
#endif
#if defined(M6)
const unsigned int RX_ID = 0x110;
const unsigned int TX_ID = 0x111;
+ const float ritAvv = 2.5f;
#define mezzo
#endif
#if defined(M7)
const unsigned int RX_ID = 0x112;
const unsigned int TX_ID = 0x113;
+ const float ritAvv = 3.0f;
#endif
#if defined(M8)
const unsigned int RX_ID = 0x114;
const unsigned int TX_ID = 0x115;
+ const float ritAvv = 3.5f;
#define mezzo
#endif
#if defined(M9)