full support for setPull

This commit is contained in:
Peli de Halleux
2016-06-03 23:15:51 -07:00
parent e2ce49d94b
commit e6ca366d20
8 changed files with 72 additions and 46 deletions

View File

@ -278,6 +278,16 @@ declare namespace led {
High = 4, // MICROBIT_PIN_EVT_PULSE_HI
Low = 5, // MICROBIT_PIN_EVT_PULSE_LO
}
declare enum PinPullMode {
//% block="down"
PullDown = 0,
//% block="up"
PullUp = 1,
//% block="none"
PullNone = 2,
}
declare namespace pins {
}