public class LCDDisplayImpl extends Object implements LCDDislayInterface, Observer
Modifier and Type | Field and Description |
---|---|
private com.pi4j.io.gpio.GpioController |
gpio |
private boolean |
isMute |
static int |
LCD_BITS |
int |
LCD_COLUMNS |
int |
LCD_ROWS |
private int |
lcdHandle |
private static org.apache.log4j.Logger |
log |
private String |
mTime |
private long |
mVolume |
ArrayList<RowDefinition> |
row_definition |
private LCDScroller |
scroller |
ArrayList<RowDefinition> |
standby_definition |
Constructor and Description |
---|
LCDDisplayImpl() |
Modifier and Type | Method and Description |
---|---|
void |
bye() |
private String |
ConvertTime(long lTime)
Convert seconds to Hours:Seconds
|
private void |
getConfig() |
private String |
getElement(Element element,
String name) |
private void |
initPi4J() |
void |
update(Observable o,
Object e) |
private static org.apache.log4j.Logger log
private com.pi4j.io.gpio.GpioController gpio
public int LCD_ROWS
public ArrayList<RowDefinition> row_definition
public ArrayList<RowDefinition> standby_definition
public int LCD_COLUMNS
public static final int LCD_BITS
private int lcdHandle
private long mVolume
private String mTime
private boolean isMute
private LCDScroller scroller
private void initPi4J()
public void update(Observable o, Object e)
private String ConvertTime(long lTime)
lTime
- private void getConfig()
private String getElement(Element element, String name)
element
- name
- public void bye()
Copyright © 2013–2014. All rights reserved.