byte_triggers.MockTriggerπŸ”—

class byte_triggers.MockTrigger[source]πŸ”—

Mock trigger class.

Delivered triggers are logged at the β€˜INFO’ level.

Methods

signal(value)

Send a trigger value.

signal(value)[source]πŸ”—

Send a trigger value.

Parameters:
valueint

Value of the trigger, between 1 and 255.