From f95bbbb2e053e4327aadbb6626fe132fa7e1c625 Mon Sep 17 00:00:00 2001 From: Abha Agrawal Date: Sat, 11 Nov 2017 17:05:08 -0500 Subject: [PATCH 1/2] changed which arduino ports point to which LED to adapt to hardware change with status lights wire --- .../Transistor/code/radio_buggy_mega/main.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Electrical/Transistor/code/radio_buggy_mega/main.cpp b/Electrical/Transistor/code/radio_buggy_mega/main.cpp index 0a68d30b..38afd709 100644 --- a/Electrical/Transistor/code/radio_buggy_mega/main.cpp +++ b/Electrical/Transistor/code/radio_buggy_mega/main.cpp @@ -64,15 +64,15 @@ #define RX_AUTON_INT INT1_vect #define RX_AUTON_INTN 1 -#define STATUS_LIGHT_PORT_BLUE PORTE -#define STATUS_LIGHT_PINN_BLUE PE3 -#define STATUS_LIGHT_DDR_BLUE DDRE #define STATUS_LIGHT_PORT_GREEN PORTE -#define STATUS_LIGHT_PINN_GREEN PE5 +#define STATUS_LIGHT_PINN_GREEN PE3 #define STATUS_LIGHT_DDR_GREEN DDRE -#define STATUS_LIGHT_PORT_RED PORTH -#define STATUS_LIGHT_PINN_RED PH6 -#define STATUS_LIGHT_DDR_RED DDRH +#define STATUS_LIGHT_PORT_RED PORTE +#define STATUS_LIGHT_PINN_RED PE5 +#define STATUS_LIGHT_DDR_RED DDRE +#define STATUS_LIGHT_PORT_BLUE PORTH +#define STATUS_LIGHT_PINN_BLUE PH6 +#define STATUS_LIGHT_DDR_BLUE DDRH #define ENCODER_INT INT2_vect From 23074922bbe280d962816cfd96c13eaff6a1b7a1 Mon Sep 17 00:00:00 2001 From: Abha Agrawal Date: Sat, 11 Nov 2017 18:04:47 -0500 Subject: [PATCH 2/2] switched mapping for red and blue LEDS --- Electrical/Transistor/code/radio_buggy_mega/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Electrical/Transistor/code/radio_buggy_mega/main.cpp b/Electrical/Transistor/code/radio_buggy_mega/main.cpp index 38afd709..2a3c535b 100644 --- a/Electrical/Transistor/code/radio_buggy_mega/main.cpp +++ b/Electrical/Transistor/code/radio_buggy_mega/main.cpp @@ -67,12 +67,12 @@ #define STATUS_LIGHT_PORT_GREEN PORTE #define STATUS_LIGHT_PINN_GREEN PE3 #define STATUS_LIGHT_DDR_GREEN DDRE -#define STATUS_LIGHT_PORT_RED PORTE -#define STATUS_LIGHT_PINN_RED PE5 -#define STATUS_LIGHT_DDR_RED DDRE -#define STATUS_LIGHT_PORT_BLUE PORTH -#define STATUS_LIGHT_PINN_BLUE PH6 -#define STATUS_LIGHT_DDR_BLUE DDRH +#define STATUS_LIGHT_PORT_BLUE PORTE +#define STATUS_LIGHT_PINN_BLUE PE5 +#define STATUS_LIGHT_DDR_BLUE DDRE +#define STATUS_LIGHT_PORT_RED PORTH +#define STATUS_LIGHT_PINN_RED PH6 +#define STATUS_LIGHT_DDR_RED DDRH #define ENCODER_INT INT2_vect