Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianhugo committed Jun 25, 2024
1 parent 453f751 commit 5e2cb5c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions model/MicroBitIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ MicroBitIO::MicroBitIO(NRF52ADC &a, TouchSensor &s) :
P13(ID_PIN_P13, P0_17, PIN_CAPABILITY_AD),
P14(ID_PIN_P14, P0_01, PIN_CAPABILITY_AD),
P15(ID_PIN_P15, P0_13, PIN_CAPABILITY_AD),
P19(ID_PIN_P19, P0_26, PIN_CAPABILITY_AD),
A1RX(ID_PIN_P16, P0_29, PIN_CAPABILITY_AD), //[Calliope] connect Grove Analog PIN (P0_29) : DELETE
P20(ID_PIN_P20, P1_00, PIN_CAPABILITY_AD),
A1TX(ID_PIN_P17, P1_02, PIN_CAPABILITY_AD), //[Calliope] P17
P18(ID_PIN_P18, P0_31, PIN_CAPABILITY_AD), //[Calliope] P18
A0SCL(ID_PIN_P19, P0_26, PIN_CAPABILITY_AD),
Expand Down Expand Up @@ -105,7 +103,7 @@ MicroBitIO::MicroBitIO(NRF52ADC &a, TouchSensor &s) :
buttonB(P11),
face(logo)
{
pins = 33;
pins = 41;
NRF52Pin::adc = &a;
NRF52Pin::touchSensor = &s;

Expand Down

0 comments on commit 5e2cb5c

Please sign in to comment.