Skip to main content

OPEN_LID

Description

The OPEN_LID command is a hardware command to open the robot's lid to the fully open position. If this command runs while the lid is closed, the lid will be opened. If the lid is already open, nothing will happen (need to confirm/test).

Syntax

OPEN_LID

Example

Input

From Test Lid:

DISPLAY "Opening"
OPEN_LID
DISPLAY "Closing in 5 seconds"
SLEEP 5
CLOSE_LID

Output

Screen will display "Opening", then open the robot's lid. Then, the screen will display "Closing in 5 seconds" for five seconds, then close the robot's lid.

Resources

Explore the SaviScript GitHub repository for all published instances of this command.