## gpio_trigger.py Records the input pin (`GPIO_IN`) as `GpioOn`/`GpioOff` events in the trial data of any running task, and writes the changes on the box camera. {download}`Download gpio_trigger.py ` ```{literalinclude} files/gpio_trigger.py :language: python ```