C:/Milton/UA/Humanoid/Lab/Fase3_Integration/v3/Slave_Stable1.02/servo.c File Reference

#include "servo.h"

Defines

#define PWM(ang)   (byte) ((SERVO_RANGE-(signed int) (ang))*SERVO_RES/(2*(signed int) SERVO_RANGE))

Functions

void initServoData (void)
void servoPos (signed char position, byte srv)
void controller (void)

Variables

volatile struct_pwmServo pwmServo [N_SERVOS]
volatile struct_velocity velocityServo [N_SERVOS]

Define Documentation

#define PWM ang   )     (byte) ((SERVO_RANGE-(signed int) (ang))*SERVO_RES/(2*(signed int) SERVO_RANGE))
 


Function Documentation

void controller void   ) 
 

void initServoData void   ) 
 

void servoPos signed char  position,
byte  srv
 


Variable Documentation

volatile struct_pwmServo pwmServo[N_SERVOS]
 

volatile struct_velocity velocityServo[N_SERVOS]
 


Generated on Fri Feb 24 16:43:46 2006 for Slave Unit by  doxygen 1.4.6-NO