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