pylabrobot.only_fans.backend.FanBackend

Contents

pylabrobot.only_fans.backend.FanBackend#

class pylabrobot.only_fans.backend.FanBackend#

Bases: MachineBackend

Abstract base class for fan backends.

Methods

__init__()

deserialize(data)

serialize()

setup()

Set up the fan.

stop()

Close all connections to the fan and make sure setup() can be called again.

turn_off()

Stop the fan, but don't close the connection.

turn_on(intensity)

Run the fan at intensity: integer percent between 0 and 100