#include <avr/io.h>
#include <avr/interrupt.h>
#include "../avrlib/global.h"
#include "servo.h"

//Silk Screen label PWM1A on the Robostix
ServoChannel_T SpeedControl =
{
   &PORTB, //Port
   (1<<5),//Pin
   3000u  //Initial Raw Duty Cycle
};

//Silk Screen label PWM1B on the Robostix
ServoChannel_T SteerServo=
{
   &PORTB, //Port
   (1<<6),//Pin
   3000u  //Initial Raw Duty Cycle
};

//Silk Screen label PWM1C on the Robostix
ServoChannel_T ScanServo=
{
   &PORTB, //Port
   (1<<7),//Pin
   3000u  //Initial Raw Duty Cycle
};

ServoChannel_T* ServoChannels[] =
{
   &SpeedControl,
   &SteerServo,
   &ScanServo
};

const uint8_t NumberOfServoChannels = sizeof(ServoChannels)/sizeof(ServoChannel_T*); 
