pxt-calliope/libs/microbit/control.ts

14 lines
363 B
TypeScript
Raw Normal View History

2016-03-10 23:01:04 +01:00
namespace control {
/**
* Schedules code that run in the background.
//% help=functions/in-background shim=micro_bit::runInBackground
*/
export function inBackground(body: Action): void { }
/**
* Resets the BBC micro:bit.
*/
//% weight=1 shim=uBit.reset async help=functions/reset
export function reset() : void { }
}