NHK2017Ateamかにろぼ
Dependencies: 2017NHKpin_config mbed FEP HMC6352 MotorDriverController PID QEI omni
\ ̄\ / ̄/ /l \ \ / / lヽ | ヽ ヽ | | / / | \ ` ‐ヽ ヽ ● ● / / ‐ / \ __ l | ||___|| / l __ / \ \ / \/ /\| 人__人 |/\ //\| |/\\ //\| |/\\ / . \_____/ \ ┏┓ ┏━┓┏┓ ┏┓ ┏┓┏┓ ┏┓ ┏┓┗┛ ┏┓ ┗┓┃┗┛ ┏┛┗━┓ ┃┃┃┃ ┃┃┏━┛┗┓┏┓┏┛┗━┓┃┃┏┓┏┓┏━━━┓ ┗┓┏━┛ ┃┃┗┛ ┃┃┗━┓┏┛┗┛┗┓┏┓┃┗┛┗┛┃┃┗━━━┛ ┏┛┃┏━┓┃┗━━┓┃┃┏━┛┗┓ ┏┛┃┃┃ ┃┃ ┃┏┛┗━┛┗━━┓┃┃┃┃┏┓┏┛ ┗━┛┃┃ ┃┃┏┓ ┃┃┏━━┓┏━━┛┃┃┃┃┗┛┃ ┏┛┃ ┃┃┃┗━━┓ ┗┛┗━━┛┗━━━┛┗┛┗━━┛ ┗━┛ ┗┛┗━━━┛
Diff: main.cpp
- Revision:
- 19:3a62cbc6fee9
- Parent:
- 18:41f7dd1a5ed1
- Child:
- 22:bb6afe7332c3
diff -r 41f7dd1a5ed1 -r 3a62cbc6fee9 main.cpp --- a/main.cpp Thu Aug 31 10:34:55 2017 +0900 +++ b/main.cpp Mon Sep 04 01:01:13 2017 +0000 @@ -3,13 +3,17 @@ #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(0.05); + pc.printf("%d\n\r", i++); } }