a

Dependencies:   Locate Move Servo button mbed

Fork of ARAI45th by Tk A

main.cpp

Committer:
choutin
Date:
2016-09-07
Revision:
12:456d651ef4f0
Parent:
10:118d86939032

File content as of revision 12:456d651ef4f0:

#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());
    }
}