
Go to the source code of this file.
Macros | |
| #define | MAX_INPUTS 8 |
| #define | MAX_SERVOS 8 |
| #define | PULSE_MAX (2250) |
| #define | PULSE_MIN (750) |
Enumerations | |
| enum | { PWM1 = 0, PWM2, PWM3, PWM4, PWM5, PWM6, PWM7, PWM8, PWM9, PWM10, PWM11, PWM12, PWM13, PWM14, MAX_PORTS } |
Functions | |
| void | pwmInit (bool useCPPM, bool usePwmFilter, bool fastPWM, uint32_t motorPwmRate, uint16_t idlePulseUsec) |
| uint32_t | pwmLastUpdate () |
| bool | pwmNewData () |
| uint16_t | pwmRead (uint8_t channel) |
| void | pwmWriteMotor (uint8_t index, uint16_t value) |
| bool | sonarPresent () |
| float | sonarRead (uint8_t channel) |
| anonymous enum |
| void pwmInit | ( | bool | useCPPM, |
| bool | usePwmFilter, | ||
| bool | fastPWM, | ||
| uint32_t | motorPwmRate, | ||
| uint16_t | idlePulseUsec | ||
| ) |