Move files from main kindscript repo
This commit is contained in:
13
libs/microbit/control.ts
Normal file
13
libs/microbit/control.ts
Normal file
@ -0,0 +1,13 @@
|
||||
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 { }
|
||||
}
|
Reference in New Issue
Block a user