## bpod_outputs_and_events.py Demo, not a training task: the Bpod primitives step by step — LEDs, valves, softcodes, TTL outputs and inputs. ```{image} /_static/examples/bpod_outputs_and_events_sm.png :alt: bpod_outputs_and_events state machine ``` {download}`Download bpod_outputs_and_events.py ` ```{literalinclude} files/bpod_outputs_and_events.py :language: python ```