-
Notifications
You must be signed in to change notification settings - Fork 19
Event: When board starts
Jaume Olivé Petrus edited this page Oct 31, 2017
·
1 revision
This block is a Hat block that is activated when the board is started. When the block is activated its script is executed. Any other hat blocks are not activated until this block ends.
Due to the fact that any other hat block are not activated until this block ends, it is not possible to use the "Broadcast() and wait" block within this block, or the program will enter in a dead lock.
Typically this block is used for:
- Initialize the global variables and data structures.
- Initialize the hardware.
- Synchronize the activation of other hat blocks.