From eecb9efae1a96a4b4f1c4d0560b8212cfe5ba916 Mon Sep 17 00:00:00 2001 From: huwgen <32654742+fabianhugo@users.noreply.github.com> Date: Mon, 24 Jun 2024 15:58:35 +0200 Subject: [PATCH] fix i2c pin --- model/MicroBit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/MicroBit.cpp b/model/MicroBit.cpp index acba7789..2312ab50 100644 --- a/model/MicroBit.cpp +++ b/model/MicroBit.cpp @@ -71,7 +71,7 @@ MicroBit::MicroBit() : io(adc, touchSensor), serial(io.usbTx, io.usbRx, NRF_UARTE0), _i2c(io.sda, io.scl), - i2c(io.P20, io.P20), + i2c(io.P20, io.P19), power(_i2c, io, systemTimer), flash(_i2c, io, power), internalFlash(MICROBIT_STORAGE_PAGE, 1, MICROBIT_CODEPAGESIZE),