Little-Wire
 All Classes Functions Groups Pages
Servo

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)
 

Detailed Description

Servo functions. Higher level access to PWM module.

Function Documentation

void servo_init ( littleWire *  lwHandle)

Initialize the PWM module on the Little-Wire with the Servo special settings.

Parameters
lwHandlelittleWire device pointer
Returns
(none)

Definition at line 39 of file littleWire_servo.c.

void servo_updateLocation ( littleWire *  lwHandle,
unsigned char  locationChannelA,
unsigned char  locationChannelB 
)

Update servo locations

Parameters
lwHandlelittleWire device pointer
locationChannelALocation of servo connected to channel A ( in degrees )
locationChannelBLocation of servo connected to channel B ( in degrees )
Returns
(none)

Definition at line 52 of file littleWire_servo.c.