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.
Diff: main.cpp
- Revision:
- 5:b91bf2db2ea8
- Parent:
- 4:6212d7723c16
diff -r 6212d7723c16 -r b91bf2db2ea8 main.cpp
--- a/main.cpp Fri Jan 14 17:26:21 2022 +0000
+++ b/main.cpp Fri Jan 14 23:22:09 2022 +0000
@@ -18,7 +18,7 @@
#endif
// Adress
-#define data_adress_sensor 0x20 // pID specifique a chaque capteur (between 0x00 and 0xFD)
+#define data_adress_sensor 0x01 // pID specifique a chaque capteur (between 0x00 and 0xFD)
#define data_adress_general 0xFF // pID génerale pour communiquer avec tout les capteurs
#define adress_color_sensor 0x4B0 // CAN ID pareil pour tout les capteur (seulement pour le CAN)
@@ -396,4 +396,4 @@
#else // format CAN //
can.write(CANMessage(adress_color_sensor,message,Len));
#endif
-}
+}