Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed mbed-rtos MotionSensor EthernetInterface
PWM/CarPWM.h@0:88faaa1afb83, 2016-04-11 (annotated)
- Committer:
- drelliak
- Date:
- Mon Apr 11 05:20:40 2016 +0000
- Revision:
- 0:88faaa1afb83
Trekking Controller
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| drelliak | 0:88faaa1afb83 | 1 | #include "mbed.h" |
| drelliak | 0:88faaa1afb83 | 2 | #ifndef CARPWM_H |
| drelliak | 0:88faaa1afb83 | 3 | #define CARPWM_H |
| drelliak | 0:88faaa1afb83 | 4 | |
| drelliak | 0:88faaa1afb83 | 5 | void initialize(PwmOut motor, PwmOut servo); |
| drelliak | 0:88faaa1afb83 | 6 | void setServoPWM(float angle, PwmOut servo); |
| drelliak | 0:88faaa1afb83 | 7 | void setMotorPWM(float width, PwmOut motor); |
| drelliak | 0:88faaa1afb83 | 8 | |
| drelliak | 0:88faaa1afb83 | 9 | |
| drelliak | 0:88faaa1afb83 | 10 | #endif |