This block lets you schedule the board to run code at specified pre-set times. You can additionally select if the scheduled code is to be run once or repeated forever.
Here, you can set the Scheduled time at which the project is to run.
You can set
However, if the same project was uploaded at 8 AM on Wednesday, the project would run an hour later at 9 AM on Wednesday, and again at 9 AM the next Tuesday.
Uploading any other projects to the board overwrites the Schedule project, i.e., you cannot schedule any other projects to run before this project’s scheduled date and time, without it overwriting the Schedule project.
A maximum of 4 Schedule blocks can be used in a project.
This example project turns the LED orange for 1 second at 8 PM the first Tuesday and Wednesday after it is uploaded.
This example project turns the LED orange for 1 second at 8 PM every Tuesday and Wednesday, as long as the project is not overwritten, or the board powered off.
This project uses a combination of Schedule block and Speak block to make the board speak the typed message 'Happy birthday' at 12:01 AM on the first Wednesday after the code is uploaded.