Fork de Timer après le match à 61 points

Dependencies:   RoboClaw mbed

Fork of Timer by ARES

Revision:
85:38cbf5fd22e1
Parent:
84:b54822c913b0
Child:
86:0c5e9ac3d8d8
--- a/main.cpp	Fri May 06 07:43:02 2016 +0000
+++ b/main.cpp	Fri May 06 09:49:01 2016 +0200
@@ -1,4 +1,5 @@
 #include "entete.h"
+#include "AX12/AX12.h"
 
 DigitalIn CAMP(PA_15);
 DigitalIn START(PB_7);
@@ -17,12 +18,16 @@
 int RvalRcapt3 = 0;
 int Ravance = 1;
 DigitalIn start(PB_7);
+AX12 umbrella(PA_9, PA_10, 1, 250000);
 
 /* Debut du programme */
 int main(void)
 {
     Ticker ticker;
     ticker.attach(&Sharps, 0.01);
+    umbrella.setMode(0);
+    umbrella.setMaxTorque(200);
+    umbrella.setGoal(0);
     depart();
     if (SCouleur == VERT) {
         GotoDist(5.5);