タコ 駆動側 

Dependencies:   2017NHKpin_config FEP R1307 PID ikarashiMDC omni_wheel

Fork of NHK2017_octopus2 by NagaokaRoboticsClub_mbedTeam

main.cpp

Committer:
uchitake
Date:
2017-09-05
Revision:
1:845af5425eec
Child:
3:369d9ee17e84

File content as of revision 1:845af5425eec:

#include "mbed.h"
#include "pin_config.h"
#include "bot.h"

Bot KANI;
Serial pc(USBTX, USBRX, 115200);

int main()
{
    int i = 0;
    pc.printf("const\n\r");
    while(1) {
        KANI.confirmAll();
        KANI.controllDrive();
        KANI.controllMech();
        wait(INTERVAL);
        pc.printf("%d\n\r", i++);
    }
}