Block description

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.

App interface and usage

Time

Here, you can set the Scheduled time at which the project is to run.
Schedule Time 1
Schedule Time 2

Frequency

You can set

  • Days on which the project is to run
  • Repetition frequency – Once or Forever
    (Here, you can select if the scheduled project should run just once or at forever , as long as the project is running on the board)
Schedule Frequency 1

Guidelines

  1. The project runs at the first instance of the scheduled time and date after upload.
    For ex: if the below code is uploaded at 10 AM on Wednesday, it will be executed at 9 AM the Tuesday and Wednesday of the following week , as the scheduled time this Wednesday has passed.
    Schedule Ex

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.

  1. 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.

  2. A maximum of 4 Schedule blocks can be used in a project.

Examples

  1. This example project turns the LED orange for 1 second at 8 PM the first Tuesday and Wednesday after it is uploaded.
    Schedule Example 1

  2. 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.
    Schedule Example 2

  3. 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.
    Schedule Example 3