namespace motors { /** * A speed picker * @param speed the speed, eg: 50 */ //% blockId=motorSpeedPicker block="%speed" shim=TD_ID //% speed.fieldEditor="speed" colorSecondary="#FFFFFF" //% weight=0 blockHidden=1 speed.fieldOptions.decompileLiterals=1 export function __speedPicker(speed: number): number { return speed; } }