Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Opta pin names to match serigraphy #1044

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions variants/OPTA/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down