Commit e13ded23 authored by Xoaquin Castrelo's avatar Xoaquin Castrelo
Browse files

Moved the servo pins.

parent 351b1558
......@@ -21,9 +21,9 @@ struct Servo
};
static Servo servos[NUM_SERVOS] = {
{ &PORTB, &DDRB, (1 << PB2), 0, 0 },
{ &PORTB, &DDRB, (1 << PB3), 0, 0 },
{ &PORTB, &DDRB, (1 << PB4), 0, 0 }
{ &PORTC, &DDRC, (1 << PB0), 0, 0 },
{ &PORTC, &DDRC, (1 << PB1), 0, 0 },
{ &PORTC, &DDRC, (1 << PB2), 0, 0 }
};
static uint16_t orderedValues[NUM_SERVOS]; // current servo values in ascending order
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment