Refactoring Ironcup 2020
Dependencies: mbed mbed-rtos MotionSensor EthernetInterface
PWM/CarPWM.h@0:8f5db5085df7, 2020-09-21 (annotated)
- Committer:
- starling
- Date:
- Mon Sep 21 21:42:07 2020 +0000
- Revision:
- 0:8f5db5085df7
12 mar 2020
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
starling | 0:8f5db5085df7 | 1 | #include "mbed.h" |
starling | 0:8f5db5085df7 | 2 | #ifndef CARPWM_H |
starling | 0:8f5db5085df7 | 3 | #define CARPWM_H |
starling | 0:8f5db5085df7 | 4 | |
starling | 0:8f5db5085df7 | 5 | void initialize(PwmOut motor, PwmOut servo); |
starling | 0:8f5db5085df7 | 6 | void setServoPWM(float angle, PwmOut servo); |
starling | 0:8f5db5085df7 | 7 | void setMotorPWM(float width, PwmOut motor); |
starling | 0:8f5db5085df7 | 8 | |
starling | 0:8f5db5085df7 | 9 | |
starling | 0:8f5db5085df7 | 10 | #endif |