adafruit_seesaw

An I2C to whatever helper chip.

  • Author(s): Dean Miller

Implementation Notes

Hardware:

Software and Dependencies:

class adafruit_seesaw.PWMChannel(seesaw, pin)[source]

A single seesaw channel that matches the PWMOut API.

duty_cycle

16 bit value that dictates how much of one cycle is high (1) versus low (0). 0xffff will always be high, 0 will always be low and 0x7fff will be half high and then half low.

frequency

The overall PWM frequency in herz.

class adafruit_seesaw.Seesaw(i2c_bus, addr=73, drdy=None)[source]

Driver for Seesaw i2c generic conversion trip

Parameters:
  • i2c_bus (I2C) – Bus the SeeSaw is connected to
  • addr (int) – I2C address of the SeeSaw device
sw_reset()[source]

Trigger a software reset of the SeeSaw chip