]> git.piffa.net Git - rover/blobdiff - libraries/rover/rover.h
Sistemati gli include della lib Servo.h
[rover] / libraries / rover / rover.h
index 1fcaa5cd1c0cb9a3e8f85cc9f085608ee0be987c..ce72cdbfecb6524dc0ae1640b0f3dc90d3d4f8da 100644 (file)
@@ -9,12 +9,29 @@ Licenza:    GPLv3
 */
 
 #include "Arduino.h"
+#include "Servo.h" 
 
 #ifndef rover_h
 #define rover_h
 
-//////////////////////
-// Funzioni
+// Global vars
+
 
+// Funzioni
 
+void abilita() ;
+void forwardA(); // speedA e' dato dalla variabile golabale speedA
+void forwardA(byte speedA); // Overloading
+void backwardA() ;
+void backwardA(byte speedA) ;
+void stopA() ;
+void forwardB() ;
+void forwardB(byte speedB) ;
+void backwardB() ;
+void backwardB(byte speedB) ;
+void stopB() ;
+
+void turnDX() ;
+void turnSX() ;
+void turnMiddle() ;
 #endif