Fraise  2.1
FRAmework for Interfacing Software and Electronics
servo.h File Reference
#include <fruit.h>

Go to the source code of this file.

Functions

Main loop functions
void servoService (void)
 Module service routine, to be called by the main loop().
 
Utilities
void servoSet (unsigned char num, unsigned int val)
 Set position of a servomotor. More...
 
Interrupt routine
void servoHighInterrupt (void)
 Module interrupt routine, must be called by the highInterrupts() user defined function.
 

Initialization

#define servoSelect(num, conn)
 Select a pin for a servo channel. More...
 
void servoInit (void)
 Init the module in setup()
 

Receive function

#define SERVO_SELECT_(num, connport, connbit)
 
void servoReceive ()
 Module receive function, to be called by the fraiseReceive() user defined function. More...
 
void servoSetPort (unsigned char num, unsigned char *port, unsigned char mask)