From 1b2ddf36e88dbf8892377caf42b2a4e2b6099500 Mon Sep 17 00:00:00 2001 From: "Zachary J. Fields" Date: Thu, 27 Mar 2025 17:08:38 -0500 Subject: [PATCH] feat: Opta pin names to match serigraphy Enables a user to intuit the pin name of the input pins, without having to reference this file. --- variants/OPTA/pins_arduino.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/variants/OPTA/pins_arduino.h b/variants/OPTA/pins_arduino.h index 301ac30aa..107190dc8 100644 --- a/variants/OPTA/pins_arduino.h +++ b/variants/OPTA/pins_arduino.h @@ -68,6 +68,16 @@ static const uint8_t A6 = PIN_A6; static const uint8_t A7 = PIN_A7; #define ADC_RESOLUTION 12 +// Pin mapping to match serigraphy +static const uint8_t I1 = PIN_A0; +static const uint8_t I2 = PIN_A1; +static const uint8_t I3 = PIN_A2; +static const uint8_t I4 = PIN_A3; +static const uint8_t I5 = PIN_A4; +static const uint8_t I6 = PIN_A5; +static const uint8_t I7 = PIN_A6; +static const uint8_t I8 = PIN_A7; + // Digital pins // ----------- #define D0 (0u)