Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1b2ddf3

Browse files
authored
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.
1 parent f7ff411 commit 1b2ddf3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎variants/OPTA/pins_arduino.h‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ static const uint8_t A6 = PIN_A6;
6868
static const uint8_t A7 = PIN_A7;
6969
#define ADC_RESOLUTION 12
7070

71+
// Pin mapping to match serigraphy
72+
static const uint8_t I1 = PIN_A0;
73+
static const uint8_t I2 = PIN_A1;
74+
static const uint8_t I3 = PIN_A2;
75+
static const uint8_t I4 = PIN_A3;
76+
static const uint8_t I5 = PIN_A4;
77+
static const uint8_t I6 = PIN_A5;
78+
static const uint8_t I7 = PIN_A6;
79+
static const uint8_t I8 = PIN_A7;
80+
7181
// Digital pins
7282
// -----------
7383
#define D0 (0u)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /