a
Dependencies: Locate Move Servo button mbed
Fork of 3servotest by
main.cpp
00001 #include "mbed.h" 00002 #include "math.h" 00003 #include "locate.h" 00004 #include "move.h" 00005 #include "servo.h" 00006 #include "button.h" 00007 00008 00009 00010 int main() 00011 { 00012 setup(); 00013 initmotor(); 00014 00015 while(1){ 00016 armdegree(12*phaseSW()); 00017 handdegree(12*phaseSW()); 00018 beltdegree(12*phaseSW()); 00019 } 00020 }
Generated on Wed Jul 27 2022 05:58:14 by 1.7.2