Comment on Hacking Coroutines into CparentComments−syncurrent1yIn `proto_activities` this blinking would look like this: 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.
Comments
In `proto_activities` this blinking would look like this:
Here the activity definition automatically creates the structure to hold the pc, timer and other variables which would outlast a single tick.