v0.7.402
This commit is contained in:
@@ -11,7 +11,11 @@
|
||||
#define SCREEN_ADDRESS 0x27 ///< See datasheet for Address or scan it https://create.arduino.cc/projecthub/abdularbi17/how-to-scan-i2c-address-in-arduino-eaadda
|
||||
#endif
|
||||
|
||||
#ifdef LCD_2004
|
||||
const byte controlspaces[] = { CLOCK_SPACE, 0, 0, VOL_SPACE };
|
||||
#else
|
||||
const byte controlspaces[] = { CLOCK_SPACE, VOL_SPACE };
|
||||
#endif
|
||||
|
||||
DspCore::DspCore(): DSP_INIT {}
|
||||
|
||||
@@ -219,6 +223,19 @@ boolean DspCore::checkdelay(int m, unsigned long & tstamp) {
|
||||
}
|
||||
}
|
||||
|
||||
void DspCore::sleep(void) {
|
||||
noDisplay();
|
||||
#ifdef LCD_I2C
|
||||
noBacklight();
|
||||
#endif
|
||||
}
|
||||
void DspCore::wake(void) {
|
||||
display();
|
||||
#ifdef LCD_I2C
|
||||
backlight();
|
||||
#endif
|
||||
}
|
||||
|
||||
char* DspCore::utf8Rus(const char* str, bool uppercase) {
|
||||
int index = 0;
|
||||
static char strn[BUFLEN];
|
||||
|
||||
Reference in New Issue
Block a user