fix touch pin for rev 0.3 board

This commit is contained in:
Matthias L. Jugel
2016-10-26 12:54:21 +02:00
parent 739be09ac9
commit d6d64f3edb
3 changed files with 3 additions and 5 deletions

View File

@ -37,7 +37,7 @@ declare namespace basic {
P0 = 7, // MICROBIT_ID_IO_P0
P1 = 8, // MICROBIT_ID_IO_P1
P2 = 9, // MICROBIT_ID_IO_P2
P3 = 33, // CALLIOPE_ID_IO_P3
P3 = 40, // CALLIOPE_ID_IO_P22
}
@ -264,6 +264,7 @@ declare namespace motors {
//P16 = MICROBIT_ID_IO_P16,
P19 = 24, // MICROBIT_ID_IO_P19
P20 = 25, // MICROBIT_ID_IO_P20
P22 = 40, // CALLIOPE_ID_IO_P22
}

View File

@ -29,7 +29,7 @@ enum class TouchPin {
P0 = MICROBIT_ID_IO_P0,
P1 = MICROBIT_ID_IO_P1,
P2 = MICROBIT_ID_IO_P2,
P3 = CALLIOPE_ID_IO_P3
P3 = CALLIOPE_ID_IO_P22
};
enum class AcceleratorRange {