Skip to main content

Multi-Board Flag Coordination

Flags are per-board — there is no shared flag memory between boards. Cross-board coordination is done by forwarding FLAG SET commands with the NET relay.

Coordination Pattern​

Step 1: Board A raises its own flag​

set flag 1

Step 2: Board A signals Board B​

NET command "192.168.1.21" "FLAG SET 1"

Step 3: Board B waits for the flag​

if flag (consume) 1:
... body (executes when flag was set) ...

DSL Pattern (Studio blocks)​

Board B loop — wait for signal from A
if flag (consume) 1:
LED toggle (LED1)

Full Python Example​

See Python Examples for a working example using UDP sockets.