a

Dependencies:   Locate Move Servo button mbed

Fork of 4thcomp by 涼太郎 中村

main.cpp

Committer:
sakanakuuun
Date:
2016-09-02
Revision:
4:1604d599d40f
Parent:
3:56b034c41dc5
Child:
5:97d9a34e5016

File content as of revision 4:1604d599d40f:

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

int main()
{
    setup();
    initmotor();

    turn_ccw();

    while(1) {
        update();
    }
}




/*
int main(){
    setup();
    initmotor();

    for(int i=0; i < 4; i++)
    {
        movelength(1200);
        turnccw();
    }
}*/