Definition in file servo.c.
#include <avr/io.h>
#include "global.h"
#include "servo.h"
Go to the source code of this file.
Functions | |
| void | servoInit (void) |
| initializes software PWM system | |
| void | servoOff (void) |
| turns off software PWM system | |
| void | servoSetChannelIO (u08 channel, u08 port, u08 pin) |
| set port and I/O pin for channel | |
| void | servoSetPosition (u08 channel, u08 position) |
| set servo position on channel | |
| u08 | servoGetPosition (u08 channel) |
| get servo position on channel | |
| void | servoSetPositionRaw (u08 channel, u16 position) |
| set servo position on channel (raw unscaled format) | |
| u16 | servoGetPositionRaw (u08 channel) |
| get servo position on channel (raw unscaled format) | |
| void | servoService (void) |
Variables | |
| u16 | ServoPosTics |
| u16 | ServoPeriodTics |
| u08 | ServoChannel |
| ServoChannelType | ServoChannels [SERVO_NUM_CHANNELS] |
1.4.2