Sharp IR Collision icon Sharp IR Collision Stops movement panels when a Sharp IR sensor on EZB ADC detects objects within a set range; displays ADC voltage, VU meter and 0-255 distance value. Try it →
 

Reverse

Movement.reverse([speed], [timeOut])

Parameters

speed (optional) Speed to move at.
timeOut (optional) Duration to move reverse for in milliseconds.

Returns

Nothing

Description

Moves the robot reverse using the project's Movement Panel skill. The speed can be specified by providing speed as a value between 0 and 255. If timeOut is provided the robot will move reverse for timeOut milliseconds. Otherwise it will continue to move reverse until a different Movement function is called.