Migrate LED shims

This commit is contained in:
Michal Moskal
2016-04-01 21:52:25 -07:00
parent 88acd9254d
commit 9820a035ce
7 changed files with 223 additions and 135 deletions

View File

@ -224,6 +224,17 @@ declare namespace control {
}
declare enum DisplayMode {
//% block="black and white"
BackAndWhite = 0, // DISPLAY_MODE_BLACK_AND_WHITE
//% block="greyscale"
Greyscale = 1, // DISPLAY_MODE_GREYSCALE
// TODO DISPLAY_MODE_BLACK_AND_WHITE_LIGHT_SENSE
}
declare namespace led {
}
declare enum DigitalPin {
P0 = 7, // MICROBIT_ID_IO_P0
P1 = 8, // MICROBIT_ID_IO_P1