Treehopper Java API
io.treehopper.libraries.displays.SevenSegmentDigit Class Reference

Single 7-segment LED digit. More...

Inheritance diagram for io.treehopper.libraries.displays.SevenSegmentDigit:
io.treehopper.libraries.IFlushable

Public Member Functions

 SevenSegmentDigit (List< Led > leds)
 
char getCharacter ()
 
void setCharacter (char value)
 
boolean isDecimalPoint ()
 
void setDecimalPoint (boolean decimalPoint)
 
List< LedgetLeds ()
 
List< ILedDrivergetDrivers ()
 
boolean isAutoFlushEnabled ()
 
void setAutoFlushEnabled (boolean value)
 
void flush (boolean force)
 

Static Protected Attributes

static final int [] charTable
 

Detailed Description

Single 7-segment LED digit.

Constructor & Destructor Documentation

◆ SevenSegmentDigit()

io.treehopper.libraries.displays.SevenSegmentDigit.SevenSegmentDigit ( List< Led leds)

Member Function Documentation

◆ flush()

void io.treehopper.libraries.displays.SevenSegmentDigit.flush ( boolean  force)

◆ getCharacter()

char io.treehopper.libraries.displays.SevenSegmentDigit.getCharacter ( )

◆ getDrivers()

List<ILedDriver> io.treehopper.libraries.displays.SevenSegmentDigit.getDrivers ( )

◆ getLeds()

List<Led> io.treehopper.libraries.displays.SevenSegmentDigit.getLeds ( )

◆ isAutoFlushEnabled()

boolean io.treehopper.libraries.displays.SevenSegmentDigit.isAutoFlushEnabled ( )

◆ isDecimalPoint()

boolean io.treehopper.libraries.displays.SevenSegmentDigit.isDecimalPoint ( )

◆ setAutoFlushEnabled()

void io.treehopper.libraries.displays.SevenSegmentDigit.setAutoFlushEnabled ( boolean  value)

◆ setCharacter()

void io.treehopper.libraries.displays.SevenSegmentDigit.setCharacter ( char  value)

◆ setDecimalPoint()

void io.treehopper.libraries.displays.SevenSegmentDigit.setDecimalPoint ( boolean  decimalPoint)

Member Data Documentation

◆ charTable

final int [] io.treehopper.libraries.displays.SevenSegmentDigit.charTable
staticprotected
Initial value:
= new int[]{
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x82, 0x21, 0x00, 0x00, 0x00, 0x00, 0x02, 0x39, 0x0F, 0x00, 0x00, 0x00, 0x40, 0x80, 0x00,
0x3F, 0x06, 0x5B, 0x4F, 0x66, 0x6D, 0x7D, 0x07, 0x7f, 0x6f, 0x00, 0x00, 0x00, 0x48, 0x00, 0x53,
0x00, 0x77, 0x7C, 0x39, 0x5E, 0x79, 0x71, 0x6F, 0x76, 0x06, 0x1E, 0x00, 0x38, 0x00, 0x54, 0x3F,
0x73, 0x67, 0x50, 0x6D, 0x78, 0x3E, 0x00, 0x00, 0x00, 0x6E, 0x00, 0x39, 0x00, 0x0F, 0x00, 0x08,
0x63, 0x5F, 0x7C, 0x58, 0x5E, 0x7B, 0x71, 0x6F, 0x74, 0x02, 0x1E, 0x00, 0x06, 0x00, 0x54, 0x5C,
0x73, 0x67, 0x50, 0x6D, 0x78, 0x1C, 0x00, 0x00, 0x00, 0x6E, 0x00, 0x39, 0x30, 0x0F, 0x00, 0x00
}

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