Skip to content

Commit

Permalink
rearrange pin order
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianhugo committed Oct 21, 2024
1 parent ff45963 commit 6f7f0e8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions model/MicroBitIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,6 @@ MicroBitIO::MicroBitIO(NRF52ADC &a, TouchSensor &s) :
/// P20(ID_PIN_P20, P1_00, PIN_CAPABILITY_AD),
A0SDA(ID_PIN_P20, P1_00, PIN_CAPABILITY_AD), //[Calliope] Place holder for micro:bit pin P3 (P0_31) : DELETE

// Calliope mini3
RGB(ID_PIN_RGB, P0_07, PIN_CAPABILITY_AD),// RGBLED P0_07
M_A_IN1(ID_PIN_M_A_IN1, P1_01, PIN_CAPABILITY_AD),// Motor A IN1 P1_01
M_A_IN2(ID_PIN_M_A_IN2, P0_27, PIN_CAPABILITY_AD),// Motor A IN2 P0_27
M_B_IN1(ID_PIN_M_B_IN1, P1_07, PIN_CAPABILITY_AD),// Motor B IN1 P1_07
M_B_IN2(ID_PIN_M_B_IN2, P1_09, PIN_CAPABILITY_AD),// Motor B IN2 P1_09
M_MODE(ID_PIN_M_MODE, P1_06, PIN_CAPABILITY_AD),// Motor Mode P1_06
//PAD3(ID_PIN_PAD3, P1_03, PIN_CAPABILITY_AD),// PAD 3 P1_03
//GA0(ID_PIN_GA0, P0_29, PIN_CAPABILITY_AD),// Grove Analog P0_29

// Other exposed pins
logo(ID_PIN_LOGO, P1_04, PIN_CAPABILITY_AD),

Expand All @@ -99,6 +89,16 @@ MicroBitIO::MicroBitIO(NRF52ADC &a, TouchSensor &s) :
usbRx(ID_PIN_USBRX, MICROBIT_PIN_UART_RX, PIN_CAPABILITY_DIGITAL),
irq1(ID_PIN_IRQ1, P0_25, PIN_CAPABILITY_AD),

// Calliope mini3
RGB(ID_PIN_RGB, P0_07, PIN_CAPABILITY_AD),// RGBLED P0_07
M_A_IN1(ID_PIN_M_A_IN1, P1_01, PIN_CAPABILITY_AD),// Motor A IN1 P1_01
M_A_IN2(ID_PIN_M_A_IN2, P0_27, PIN_CAPABILITY_AD),// Motor A IN2 P0_27
M_B_IN1(ID_PIN_M_B_IN1, P1_07, PIN_CAPABILITY_AD),// Motor B IN1 P1_07
M_B_IN2(ID_PIN_M_B_IN2, P1_09, PIN_CAPABILITY_AD),// Motor B IN2 P1_09
M_MODE(ID_PIN_M_MODE, P1_06, PIN_CAPABILITY_AD),// Motor Mode P1_06
//PAD3(ID_PIN_PAD3, P1_03, PIN_CAPABILITY_AD),// PAD 3 P1_03
//GA0(ID_PIN_GA0, P0_29, PIN_CAPABILITY_AD),// Grove Analog P0_29

// Aliases
col1(P4),
col2(P7),
Expand Down

0 comments on commit 6f7f0e8

Please sign in to comment.