hide pin p19/p20 (#2268)

This commit is contained in:
Peli de Halleux 2019-09-03 13:29:23 -07:00 committed by GitHub
parent a2ea722848
commit 61b3bd2833
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -445,7 +445,9 @@ declare namespace led {
P14 = 21, // MICROBIT_ID_IO_P14
P15 = 22, // MICROBIT_ID_IO_P15
P16 = 23, // MICROBIT_ID_IO_P16
//% blockHidden=1
P19 = 24, // MICROBIT_ID_IO_P19
//% blockHidden=1
P20 = 25, // MICROBIT_ID_IO_P20
}
@ -480,8 +482,10 @@ declare namespace led {
//% block="P16 (write only)"
P16 = 23, // MICROBIT_ID_IO_P16
//% block="P19 (write only)"
//% blockHidden=1
P19 = 24, // MICROBIT_ID_IO_P19
//% block="P20 (write only)"
//% blockHidden=1
P20 = 25, // MICROBIT_ID_IO_P20
}

View File

@ -18,7 +18,9 @@ enum class DigitalPin {
P14 = MICROBIT_ID_IO_P14,
P15 = MICROBIT_ID_IO_P15,
P16 = MICROBIT_ID_IO_P16,
//% blockHidden=1
P19 = MICROBIT_ID_IO_P19,
//% blockHidden=1
P20 = MICROBIT_ID_IO_P20,
};
@ -52,8 +54,10 @@ enum class AnalogPin {
//% block="P16 (write only)"
P16 = MICROBIT_ID_IO_P16,
//% block="P19 (write only)"
//% blockHidden=1
P19 = MICROBIT_ID_IO_P19,
//% block="P20 (write only)"
//% blockHidden=1
P20 = MICROBIT_ID_IO_P20
};