by syncurrent · 1y ago · 0 comments
pa_activity (Blinker, pa_ctx_tm(), uint32_t onMs, uint32_t offMs) {
pa_repeat {
turn_on_LED();
pa_delay_ms (onMs);
turn_off_LED();
pa_delay_ms (offMs);
}
} pa_end
Here the activity definition automatically creates the structure to hold the pc, timer and other variables which would outlast a single tick.No comments yet.