ライントレーサー制御用のプログラムです.

Dependencies:   mbed

Committer:
Hirotomo777
Date:
Thu Nov 16 06:15:58 2017 +0000
Revision:
0:e9af471e2a2b
?7????????????????

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Hirotomo777 0:e9af471e2a2b 1 #include "mbed.h"
Hirotomo777 0:e9af471e2a2b 2 extern PwmOut handle;
Hirotomo777 0:e9af471e2a2b 3 void motorInit();
Hirotomo777 0:e9af471e2a2b 4 void rotate(PwmOut servo,float ppulse,float *npulse);
Hirotomo777 0:e9af471e2a2b 5 //float rotate(PwmOut servo,float ppulse);
Hirotomo777 0:e9af471e2a2b 6 void servoInit();
Hirotomo777 0:e9af471e2a2b 7 void start();
Hirotomo777 0:e9af471e2a2b 8 void stop();
Hirotomo777 0:e9af471e2a2b 9 void control(PwmOut left,PwmOut right);