Skip to content

Commit c758618

Browse files
committed
codal_app/microbithal: Add comment for which pins are for which I2C bus.
Signed-off-by: Damien George <[email protected]>
1 parent b621de7 commit c758618

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/codal_app/microbithal.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ NRF52Pin *const pin_obj[] = {
4646
&uBit.io.P14,
4747
&uBit.io.P15,
4848
&uBit.io.P16,
49-
&uBit.io.P19,
50-
&uBit.io.P20,
49+
&uBit.io.P19, // external I2C SCL
50+
&uBit.io.P20, // external I2C SDA
5151
&uBit.io.face,
5252
&uBit.io.speaker,
5353
&uBit.io.runmic,
5454
&uBit.io.microphone,
55-
&uBit.io.sda,
56-
&uBit.io.scl,
55+
&uBit.io.sda, // internal I2C
56+
&uBit.io.scl, // internal I2C
5757
&uBit.io.row1,
5858
&uBit.io.row2,
5959
&uBit.io.row3,

0 commit comments

Comments
 (0)