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: CRAC-Strat_2019 SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac
Dependents: Codeprincipal_2019 CRAC-Strat_2019
Diff: Robots/Strategie_small.cpp
- Revision:
- 0:ad97421fb1fb
diff -r 000000000000 -r ad97421fb1fb Robots/Strategie_small.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Robots/Strategie_small.cpp Wed Apr 13 22:04:54 2016 +0000
@@ -0,0 +1,28 @@
+#include "Strategie_small.h"
+
+
+/****************************************************************************************/
+/* FUNCTION NAME: doAction */
+/* DESCRIPTION : Effectuer une action specifique */
+/****************************************************************************************/
+unsigned char doAction(unsigned char id, unsigned short speed, short angle) {
+
+ switch(id) {
+ case 20:
+
+ break;
+ default:
+ return 0;//L'action n'existe pas, il faut utiliser le CAN
+
+ }
+ return 1;//L'action est spécifique.
+
+}
+
+/****************************************************************************************/
+/* FUNCTION NAME: initRobot */
+/* DESCRIPTION : initialiser le robot */
+/****************************************************************************************/
+void initRobot(void) {
+
+}
\ No newline at end of file