TLC59711

package module
v0.0.0-...-52dc6a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2020 License: GPL-2.0 Imports: 1 Imported by: 0

README

TLC59711

This is an Library to control Adafruit 12-Channel PWM LED Driver using the TLC59711 chip. Code was based off Adafruit's original Arduino library

Only have been tested with Raspberry Pi 0 w.

Buy a board at Adafruit:

http://www.adafruit.com/products/1455 This chip uses SPI to communicate, 2 pins are required to interface (CLK & DATA).

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLC59711

type TLC59711 struct {
	NumberDrivers uint8
	// contains filtered or unexported fields
}

func New

func New(boards uint8, spi rpio.SpiDev) *TLC59711

func (*TLC59711) SetLed

func (t *TLC59711) SetLed(ledNum uint8, r uint16, g uint16, b uint16)

func (TLC59711) Write

func (t TLC59711) Write()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL