廣智 角谷
/
LineTracer
ライントレーサー制御用のプログラムです.
motor.h@0:e9af471e2a2b, 2017-11-16 (annotated)
- Committer:
- Hirotomo777
- Date:
- Thu Nov 16 06:15:58 2017 +0000
- Revision:
- 0:e9af471e2a2b
?7????????????????
Who changed what in which revision?
User | Revision | Line number | New 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); |