This commit is contained in:
Michal Moskal 2017-07-10 11:31:18 +01:00
parent 0a1ab0a90f
commit c23bf44e35

View File

@ -105,7 +105,7 @@ const enum LMS {
DEVICE_ID_NOTIFY_ONE = 10001,
}
namespace inputint {
namespace input.internal {
//% shim=pxt::unsafePollForChanges
function unsafePollForChanges(
periodMs: int32,
@ -514,7 +514,7 @@ namespace inputint {
}
namespace input {
export class TouchSensor extends inputint.AnalogSensor {
export class TouchSensor extends internal.AnalogSensor {
button: ButtonWrapper;
constructor() {
@ -602,7 +602,7 @@ namespace input {
}
}
export class IrSensor extends inputint.UartSensor {
export class IrSensor extends internal.UartSensor {
private channel: IrRemoteChannel
private pollRunning: boolean
private buttons: ButtonWrapper[];