PinSink#

class ultimo_machine.gpio.PinSink(pin_id, pull, source=None)#

A sink that sets the value on a pin.

Methods

create_task()

Create a task that consumes the source.

init()

process(value)

run()

Consume the source if available.

Attributes

source

The input source for the pipeline.

create_task() uasyncio.Task#

Create a task that consumes the source.

async run()#

Consume the source if available.

source: ASource | None#

The input source for the pipeline.