Use field toggle for switching the motor on / off

This commit is contained in:
Sam El-Husseini
2017-10-04 17:04:26 -04:00
parent b18b8333d0
commit 6a719e7718
5 changed files with 25 additions and 2 deletions

View File

@ -70,7 +70,7 @@ declare namespace loops {
* Repeats the code forever in the background. On each iteration, allows other codes to run.
* @param body code to execute
*/
//% help=loops/forever weight=100 blockGap=8
//% help=loops/forever weight=100
//% blockId=forever block="forever" blockAllowMultiple=1 shim=loops::forever
function forever(a: () => void): void;