Workspace
Blockly provides setup, loop, digital/analog I/O, variable, condition, timer, and library blocks.
Syncing blocks and source
- Block changes generate Arduino source code.
- Generated source code must be validated before compiling.
- Manual changes in the generated code area may be overwritten.
- Save a version before switching modes.
Setup and loop
Initialization blocks go in setup(), while repeating blocks go in loop(). Avoid putting long delays in the loop.
Library blocks
A custom library block must have function mappings, parameters, includes, and a test compile. A passing test status does not guarantee compatibility with every board.