Junichi Katsu
/
WallbotMotorTest
うおーるぼっとのモータテストプログラム
main.cpp
- Committer:
- jksoft
- Date:
- 2012-12-04
- Revision:
- 0:6ac71784e91f
File content as of revision 0:6ac71784e91f:
#include "mbed.h" #include "TB6612.h" DigitalOut myled(LED1); TB6612 left(p21,p12,p11); TB6612 right(p22,p14,p13); int main() { while(1) { left = 100; right = 100; wait(2.0); left = -100; right = -100; wait(2.0); } }