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

Appearance settings

Commit f07f483

Browse filesBrowse files
committed
Swaps D16/D17 in the pin description list so that they are correctly D16/D17
* Assign A1 to A1, instead of A0 in the SparkFun MicroMod
1 parent 5f1bc3c commit f07f483
Copy full SHA for f07f483

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎sparkfun/samd/variants/SparkFun_Qwiic_Micro/variant.cpp

Copy file name to clipboardExpand all lines: sparkfun/samd/variants/SparkFun_Qwiic_Micro/variant.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ const PinDescription g_APinDescription[] =
5151

5252
// 16/17 - RX/TX
5353
// --------------------
54-
{ PORTA, 23, PIO_SERCOM, (PIN_ATTR_DIGITAL|PIN_ATTR_PWM|PIN_ATTR_TIMER), No_ADC_Channel, PWM4_CH1, TC4_CH1, EXTERNAL_INT_7 }, // RX/D17
5554
{ PORTA, 22, PIO_SERCOM, (PIN_ATTR_DIGITAL|PIN_ATTR_PWM|PIN_ATTR_TIMER), No_ADC_Channel, PWM4_CH0, TC4_CH0, EXTERNAL_INT_6 }, // TX/D16
55+
{ PORTA, 23, PIO_SERCOM, (PIN_ATTR_DIGITAL|PIN_ATTR_PWM|PIN_ATTR_TIMER), No_ADC_Channel, PWM4_CH1, TC4_CH1, EXTERNAL_INT_7 }, // RX/D17
5656

5757
// 18-21 - Flash SPI
5858
// --------------------

‎sparkfun/samd/variants/SparkFun_SAMD51_MicroMod/variant.h

Copy file name to clipboardExpand all lines: sparkfun/samd/variants/SparkFun_SAMD51_MicroMod/variant.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ extern "C"
141141
#define PIN_DAC0 PIN_A0
142142

143143
static const uint8_t A0 = PIN_A0;
144-
static const uint8_t A1 = PIN_A0;
144+
static const uint8_t A1 = PIN_A1;
145145
static const uint8_t A2 = PIN_A2;
146146
static const uint8_t A3 = PIN_A3;
147147
static const uint8_t A4 = PIN_A4;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.