a

Dependencies:   Locate Move Servo button mbed

Fork of 4thcomp by 涼太郎 中村

main.cpp

Committer:
sakanakuuun
Date:
2016-09-03
Revision:
5:97d9a34e5016
Parent:
4:1604d599d40f
Child:
6:931d51a70200

File content as of revision 5:97d9a34e5016:

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

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

    while(1) {
        update();
    }
}


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

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