Skip to content

Commit a3f9fb1

Browse files
committed
DM: add trellis line audio
1 parent 644b147 commit a3f9fb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

variants/trellis_m4/variant.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ extern "C"
9999
#define PIN_DAC1 PIN_A1
100100
#define PIN_MIC PIN_A2
101101
#define PIN_MIC_RAW PIN_A3
102+
#define PIN_LINE_LEFT (21ul)
103+
#define PIN_LINE_RIGHT (22ul)
102104

103105
static const uint8_t A0 = PIN_A0;
104106
static const uint8_t A1 = PIN_A1;
@@ -112,6 +114,8 @@ static const uint8_t DAC1 = PIN_DAC1;
112114

113115
static const uint8_t MIC_RAW = PIN_MIC_RAW;
114116
static const uint8_t MIC = PIN_MIC;
117+
static const uint8_t LINE_LEFT = PIN_LINE_LEFT;
118+
static const uint8_t LINE_RIGHT = PIN_LINE_RIGHT;
115119

116120
#define ADC_RESOLUTION 12
117121

0 commit comments

Comments
 (0)