CLOSE_LID
Description
The CLOSE_LID command is a hardware command to close the robot's lid to the fully closed position. If this command runs while the lid is open, the lid will be closed. If the lid is already closed, nothing will happen (need to confirm/test).
Syntax
CLOSE_LID
Example
Input
DISPLAY "Opening lid now..."
SLEEP 2
OPEN_LID
DISPLAY "Closing lid now..."
SLEEP 5
CLOSE_LID
Output
Screen will display "Opening lid now..." for two seconds. Then, the robot's lid will open. The screen will then display "Closing lid now..." for two seconds. The lid will close.
Resources
Explore the SaviScript GitHub repository for all published instances of this command.