Skip to content
Snippets Groups Projects
Commit e13ded23 authored by Xoaquin Castrelo's avatar Xoaquin Castrelo
Browse files

Moved the servo pins.

parent 351b1558
Branches
No related tags found
No related merge requests found
...@@ -21,9 +21,9 @@ struct Servo ...@@ -21,9 +21,9 @@ struct Servo
}; };
static Servo servos[NUM_SERVOS] = { static Servo servos[NUM_SERVOS] = {
{ &PORTB, &DDRB, (1 << PB2), 0, 0 }, { &PORTC, &DDRC, (1 << PB0), 0, 0 },
{ &PORTB, &DDRB, (1 << PB3), 0, 0 }, { &PORTC, &DDRC, (1 << PB1), 0, 0 },
{ &PORTB, &DDRB, (1 << PB4), 0, 0 } { &PORTC, &DDRC, (1 << PB2), 0, 0 }
}; };
static uint16_t orderedValues[NUM_SERVOS]; // current servo values in ascending order static uint16_t orderedValues[NUM_SERVOS]; // current servo values in ascending order
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment