Little-Wire
|
Servo functions. Higher level access to PWM module. More...
Functions | |
void | servo_init (littleWire *lwHandle) |
void | servo_updateLocation (littleWire *lwHandle, unsigned char locationChannelA, unsigned char locationChannelB) |
Servo functions. Higher level access to PWM module.
void servo_init | ( | littleWire * | lwHandle) |
Initialize the PWM module on the Little-Wire with the Servo special settings.
lwHandle | littleWire device pointer |
Definition at line 39 of file littleWire_servo.c.
void servo_updateLocation | ( | littleWire * | lwHandle, |
unsigned char | locationChannelA, | ||
unsigned char | locationChannelB | ||
) |
Update servo locations
lwHandle | littleWire device pointer |
locationChannelA | Location of servo connected to channel A ( in degrees ) |
locationChannelB | Location of servo connected to channel B ( in degrees ) |
Definition at line 52 of file littleWire_servo.c.