Octopus!!
Dependencies: 2017NHKpin_config FEP HMC6352 PID QEI R1307 ikarashiMDC omni_wheel
Fork of KANIv3 by
main.cpp
- Committer:
- number_key
- Date:
- 2017-11-13
- Revision:
- 51:64534e908d5c
- Parent:
- 50:3a7c858aa0f9
File content as of revision 51:64534e908d5c:
#include "mbed.h" #include "pin_config.h" #include "bot.h" Bot OCTOPUS; Serial pc(USBTX, USBRX, 115200); int main() { pc.printf("const\n\r"); while(1) { printf("loop\n\r"); OCTOPUS.confirmPad1(); //OCTOPUS.confirmPad2(); OCTOPUS.controllDrive(); //OCTOPUS.controllDrive2(); // OCTOPUS.controllDrive3(); //OCTOPUS.controllDrive4(); OCTOPUS.controllMech(); //OCTOPUS.calibrate(); //OCTOPUS.checkConnection(); //OCTOPUS.checkDegree(); wait(INTERVAL); } }