a

Dependencies:   Locate Move Servo button mbed

Fork of ARAI45th by Tk A

main.cpp

Committer:
choutin
Date:
2016-09-08
Revision:
14:66c5b0b26ba0
Parent:
12:456d651ef4f0

File content as of revision 14:66c5b0b26ba0:

#include "mbed.h"
#include "math.h"
#include "locate.h"
#include "move.h"
#include "servo.h"
#include "button.h"



int main()
{
    setup();
    initmotor();
    
    while(1){
        armdegree(12*phaseSW());
        handdegree(12*phaseSW());
        beltdegree(12*phaseSW());
    }
}