Skip to content

Commit

Permalink
Microbit pin mapping (#6374)
Browse files Browse the repository at this point in the history
* add mapping for edge connector

* remove comments

* remove pins already used by shield
  • Loading branch information
tballmsft authored Mar 26, 2024
1 parent e0664c5 commit 4c83cb1
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions libs/hw---n3/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,10 @@ namespace config {
export const DISPLAY_CFG1 = 0x00000603
export const DISPLAY_CFG2 = 8

// mappng for edge connector
// mappng for big edge connector pins,
export const PIN_P0 = DAL.P0_2
export const PIN_P1 = DAL.P0_3
export const PIN_P2 = DAL.P0_4
export const PIN_P3 = DAL.P0_31
export const PIN_P4 = DAL.P0_28
export const PIN_P5 = DAL.P0_14
export const PIN_P6 = DAL.P1_5
export const PIN_P7 = DAL.P0_11
export const PIN_P8 = DAL.P0_10
export const PIN_P9 = DAL.P0_9
export const PIN_P10 = DAL.P0_30
export const PIN_P11 = DAL.P0_23
export const PIN_P12 = DAL.P0_12
export const PIN_P13 = DAL.P0_17
export const PIN_P14 = DAL.P0_1
export const PIN_P15 = DAL.P0_13
export const PIN_P16 = DAL.P1_2
export const PIN_P19 = DAL.P0_26
export const PIN_P20 = DAL.P1_0
export const PIN_P2 = DAL.P0_4
}


Expand Down

0 comments on commit 4c83cb1

Please sign in to comment.