a

Dependencies:   Locate Move Servo button mbed

Fork of 4thcomp by 涼太郎 中村

main.cpp

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

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