From e13ded23dd9faa4062e20d4297ab9a9f196384e0 Mon Sep 17 00:00:00 2001 From: Xoaquin Castrelo <xoaquin.cb@gmail.com> Date: Sun, 14 Nov 2021 02:28:10 +0000 Subject: [PATCH] Moved the servo pins. --- emb/servos.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emb/servos.cpp b/emb/servos.cpp index c51fe1e..2a2c3d4 100644 --- a/emb/servos.cpp +++ b/emb/servos.cpp @@ -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 -- GitLab