@@ 72,9 72,9 @@ static const struct SPI_Settings adafrui
.dopo = SERCOM_MOSI_CLK_PAD_2_3,
.dipo = SERCOM_MISO_PAD_0,
.miso_pin = { 0, PIN_PA12, PORT_PMUX_PMUXE_D_Val },
- .mosi_pin = { 0, PIN_PB10, PORT_PMUX_PMUXE_D_Val },
- .clk_pin = { 0, PIN_PB11, PORT_PMUX_PMUXE_D_Val },
- .ss_pin = { 0, PIN_PB09, PORT_PMUX_PMUXE_D_Val } // Arduino A2
+ .mosi_pin = { 1, PIN_PB10 % 32, PORT_PMUX_PMUXE_D_Val },
+ .clk_pin = { 1, PIN_PB11 % 32, PORT_PMUX_PMUXE_D_Val },
+ .ss_pin = { 1, PIN_PB09 % 32, PORT_PMUX_PMUXE_D_Val } // Arduino A2
}
};