📦 Archived documentation: r1 (committed 2026-07-24) View current documentation →
Available on: Flexs Q5C Flexs Q5M

syncIO()

syncIO()

Manually syncs IO points with local variables between run() calls.

IO variables are synced with local variables whenever run() executes. If you need IO point updates to take effect during the loop body — for example to change a relay immediately — call syncIO() manually.

Example

io.relay1.state = true;
syncIO(); // push the change now instead of waiting for run()