Octopus!!
Dependencies: 2017NHKpin_config FEP HMC6352 PID QEI R1307 ikarashiMDC omni_wheel
Fork of KANIv3 by
Diff: main.cpp
- Revision:
- 1:845af5425eec
- Child:
- 3:369d9ee17e84
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Sep 05 16:11:20 2017 +0900 @@ -0,0 +1,19 @@ +#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++); + } +}