Treehopper Python API
LedDriver Class Reference

An LED driver, controlling a collection of one or more LEDs. More...

Inheritance diagram for LedDriver:
Flushable Ht16k33 LedShiftRegister Max7219

Public Member Functions

def __init__ (num_leds, has_global_brightness_control, has_individual_brightness_control)
 
def flush (force)
 
def brightness ()
 
def clear ()
 

Public Attributes

 global_brightness
 whether this controller has global brightness control More...
 
 individual_brightness
 whether this controller has individual brightness control More...
 
 leds
 the collection of LEDs controlled by this driver. More...
 
 auto_flush
 
 parent
 

Properties

 brightness = property
 

Detailed Description

An LED driver, controlling a collection of one or more LEDs.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   num_leds,
  has_global_brightness_control,
  has_individual_brightness_control 
)

Member Function Documentation

◆ brightness()

def brightness ( )

◆ clear()

def clear ( )

◆ flush()

def flush (   force)

Member Data Documentation

◆ auto_flush

auto_flush

◆ global_brightness

global_brightness

whether this controller has global brightness control

◆ individual_brightness

individual_brightness

whether this controller has individual brightness control

◆ leds

leds

the collection of LEDs controlled by this driver.

◆ parent

parent
inherited

Property Documentation

◆ brightness

brightness = property
static

The documentation for this class was generated from the following file: