Treehopper Python API
SevenSegmentDisplay Class Reference

7-segment display More...

Inheritance diagram for SevenSegmentDisplay:
CharacterDisplay Flushable

Classes

class  SevenSegmentDisplay
 

Public Member Functions

def __init__ (leds, right_to_left)
 
def flush (force)
 
def set_cursor (left, top)
 
def clear ()
 
def write (value)
 

Public Attributes

 num_digits
 
 digits
 
 drivers
 
 cols
 
 rows
 
 lines
 
 auto_flush
 
 parent
 

Properties

 cursor_left = property
 
 cursor_top = property
 

Detailed Description

7-segment display

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   leds,
  right_to_left 
)

Member Function Documentation

◆ clear()

def clear ( )
inherited

◆ flush()

def flush (   force)

◆ set_cursor()

def set_cursor (   left,
  top 
)
inherited

◆ write()

def write (   value)
inherited

Member Data Documentation

◆ auto_flush

auto_flush
inherited

◆ cols

cols
inherited

◆ digits

digits

◆ drivers

drivers

◆ lines

lines
inherited

◆ num_digits

num_digits

◆ parent

parent
inherited

◆ rows

rows
inherited

Property Documentation

◆ cursor_left

cursor_left = property
staticinherited

◆ cursor_top

cursor_top = property
staticinherited

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