-
Notifications
You must be signed in to change notification settings - Fork 227
Sleep
Jaume Olivé Petrus edited this page Aug 1, 2017
·
6 revisions
Put the board in sleep mode for a time specified in the seconds argument. Once the sleep time ends the CPU is reset.
Arguments:
seconds: the number of seconds to sleep Returns: nothing
-- Sleep for 10 seconds os.sleep(10)