psychos.triggers.StepTrigger#
- class psychos.triggers.StepTrigger(port: BasePort, mapping: Dict[str, int | bytes] | None = None)[source]#
Bases:
BaseTriggerTrigger that sends a value without resetting the port.
This trigger sends a value via the communication port and leaves the port in the state of the last sent value.
- __init__(port: BasePort, mapping: Dict[str, int | bytes] | None = None)#
Initialize a BaseTrigger instance.
Methods