int lock();
void unlock();
int islocked() { return locked; }
+ bool detected() { return lcdfd >= 0; }
#ifndef SWIG
eLCD(eSize size);
virtual ~eLCD();
{
static eDBoxLCD *instance;
unsigned char inverted;
+ int is_oled;
#ifdef SWIG
eDBoxLCD();
~eDBoxLCD();
~eDBoxLCD();
#endif
static eDBoxLCD *getInstance();
- int eDBoxLCD::setLCDContrast(int contrast);
- int eDBoxLCD::setLCDBrightness(int brightness);
+ int setLCDContrast(int contrast);
+ int setLCDBrightness(int brightness);
void setInverted( unsigned char );
+ bool isOled() const { return !!is_oled; }
void update();
};