48 servo[ix != 0] =
this;
67 void pulse(uint16_t min, uint16_t max)
68 __attribute__((always_inline))
87 void angle(uint8_t degree);
100 static const uint16_t PERIOD = 20000;
101 static const uint16_t MIN_WIDTH = 650;
102 static const uint16_t MAX_WIDTH = 2300;
103 static const uint8_t INIT_ANGLE = 90;
106 static Servo* servo[2];
friend void TIMER1_COMPB_vect(void)
Servo(uint8_t ix, Board::DigitalPin pin)
void pulse(uint16_t min, uint16_t max)
friend void TIMER1_COMPA_vect(void)