API References🔗

This is the reference for classes (CamelCase names) and functions (underscore_case names) of byte_triggers grouped thematically.

Triggers🔗

LSLTrigger(name)

Trigger sending values on an LSL outlet.

MockTrigger()

Mock trigger class.

ParallelPortTrigger(address[, port_type, delay])

Trigger using a parallel port (also called LPT port).

All trigger classes have a .signal() method used to deliver an integer trigger. The typical usage is:

from byte_triggers import MockTrigger

trigger = MockTrigger()
trigger.signal(1)

Logging🔗

add_file_handler(fname[, mode, encoding, ...])

Add a file handler to the logger.

set_log_level(verbose)

Set the log level for the logger.