Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there) - Added word-wrap for main text - Expanded text size - Handling display mode (used to define the number of chars per line on Notifications) - Versioning handling - As a consequence of the previous item.
This commit is contained in:
@@ -8,9 +8,14 @@ Program.s
|
||||
int sleep_mode=0
|
||||
int is_alarm=0,is_entities=0,is_qrcode=0,is_notification=0
|
||||
int brightness=100,brightness_dim=40
|
||||
bauds=115200//Configure baudrat
|
||||
int display_mode=2 // 1 = EU, 2 = US, 3 = US landscape
|
||||
bauds=115200//Configure baudrate
|
||||
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
|
||||
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
|
||||
if(display_mode==1)
|
||||
{
|
||||
lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version
|
||||
}
|
||||
printh 92
|
||||
prints "nspanelevent",0
|
||||
printh 00
|
||||
|
||||
Reference in New Issue
Block a user