NullChip

class NullChip[source]

Bases: object

__init__()

Methods

__init__()

set_pwm(channel, on, off)

Sets the cycle.

Attributes

error: str = 'Error connecting to the chip '
set_pwm(channel: int, on: int, off: int) None[source]

Sets the cycle.

Parameters:
  • channel (int) – The PWM channel.

  • on (int) – The on time in ticks.

  • off (int) – The off time in ticks.