Redistribute tree

This commit is contained in:
Edward Firmo
2023-12-04 18:52:02 +01:00
parent 978df5ad75
commit 0565f5f522
137 changed files with 19166 additions and 40341 deletions

View File

@@ -5,7 +5,7 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy" nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages: packages:
core_package: !include ../nspanel_esphome.yaml # Core package core_package: !include ../advanced/esphome/nspanel_esphome.yaml # Core package
advanced_package: !include ../nspanel_esphome_advanced.yaml advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml #addon_climate_heat: !include ../advanced/esphome/nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml #addon_climate_cool: !include ../advanced/esphome/nspanel_esphome_addon_climate_cool.yaml

View File

@@ -5,10 +5,10 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy" nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages: packages:
core_package: !include ../nspanel_esphome.yaml # Core package core_package: !include ../advanced/esphome/nspanel_esphome.yaml # Core package
advanced_package: !include ../nspanel_esphome_advanced.yaml advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml #addon_climate_heat: !include ../advanced/esphome/nspanel_esphome_addon_climate_heat.yaml
addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml addon_climate_cool: !include ../advanced/esphome/nspanel_esphome_addon_climate_cool.yaml
esp32: esp32:
framework: framework:

View File

@@ -5,10 +5,10 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy" nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages: packages:
core_package: !include ../nspanel_esphome.yaml # Core package core_package: !include ../advanced/esphome/nspanel_esphome.yaml # Core package
advanced_package: !include ../nspanel_esphome_advanced.yaml advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml #addon_climate_heat: !include ../advanced/esphome/nspanel_esphome_addon_climate_heat.yaml
addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml addon_climate_cool: !include ../advanced/esphome/nspanel_esphome_addon_climate_cool.yaml
esp32: esp32:
framework: framework:

View File

@@ -5,7 +5,7 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy" nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages: packages:
core_package: !include ../nspanel_esphome.yaml # Core package core_package: !include ../advanced/esphome/nspanel_esphome.yaml # Core package
advanced_package: !include ../nspanel_esphome_advanced.yaml advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml addon_climate_heat: !include ../advanced/esphome/nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cold: !include ../nspanel_esphome_addon_climate_cold.yaml #addon_climate_cold: !include ../advanced/esphome/nspanel_esphome_addon_climate_cold.yaml

View File

@@ -5,7 +5,7 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy" nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages: packages:
core_package: !include ../nspanel_esphome.yaml # Core package core_package: !include ../advanced/esphome/nspanel_esphome.yaml # Core package
#advanced_package: !include ../nspanel_esphome_advanced.yaml #advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml #addon_climate_heat: !include ../advanced/esphome/nspanel_esphome_addon_climate_heat.yaml
addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml addon_climate_cool: !include ../advanced/esphome/nspanel_esphome_addon_climate_cool.yaml

View File

@@ -5,7 +5,7 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy" nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages: packages:
core_package: !include ../nspanel_esphome.yaml # Core package core_package: !include ../advanced/esphome/nspanel_esphome.yaml # Core package
#advanced_package: !include ../nspanel_esphome_advanced.yaml #advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml addon_climate_heat: !include ../advanced/esphome/nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml #addon_climate_cool: !include ../advanced/esphome/nspanel_esphome_addon_climate_cool.yaml

View File

@@ -5,7 +5,7 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy" nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages: packages:
core_package: !include ../nspanel_esphome.yaml # Core package core_package: !include ../advanced/esphome/nspanel_esphome.yaml # Core package
#advanced_package: !include ../nspanel_esphome_advanced.yaml #advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml #addon_climate_heat: !include ../advanced/esphome/nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml #addon_climate_cool: !include ../advanced/esphome/nspanel_esphome_addon_climate_cool.yaml

15
advanced/.gitignore vendored Normal file
View File

@@ -0,0 +1,15 @@
# Ignore Mac DS_Store files
.DS_Store
**/.DS_Store
Nextion2Text.*
*.cmd
*.bat
# Ignore IntelliJ IDEA project directory
.idea
# Ignore dev folder
dev
nspanel_esphome_prebuilt.yaml

View File

@@ -1,26 +1,26 @@
Program.s Program.s
//The following code is only run once when power on, and is generally used for global variable definition and power on initialization data //The following code is only run once when power on, and is generally used for global variable definition and power on initialization data
int sys0=0,sys1=0,sys2=0,swipex=0,swipey=0,swipex2=0,swipey2=0,swipec=0,swipec2=0,swipedx=100,swipedy=100 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement int sys0=0,sys1=0,sys2=0,swipex=0,swipey=0,swipex2=0,swipey2=0,swipec=0,swipec2=0,swipedx=100,swipedy=100 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement
int r=0,g=0,b=0 int r=0,g=0,b=0
int h=0,s=0,v=0 int h=0,s=0,v=0
int p=0,q=0,t=0,f=0 int p=0,q=0,t=0,f=0
int dimdelta=0 int dimdelta=0
int api=0 // 0 = disconnected from HA, 1 = connected to HA int api=0 // 0 = disconnected from HA, 1 = connected to HA
int is_alarm=0,is_entities=0,is_qrcode=0,is_notification=0 int is_alarm=0,is_entities=0,is_qrcode=0,is_notification=0
int brightness=100,brightness_dim=40 int brightness=100,brightness_dim=40
int display_mode=1 // 1 = EU, 2 = US, 3 = US landscape int display_mode=1 // 1 = EU, 2 = US, 3 = US landscape
//bauds=115200//Configure baudrate //bauds=115200//Configure baudrate
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
randset 0,65535//used for touchevent sensor randset 0,65535//used for touchevent sensor
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
if(display_mode==1) if(display_mode==1)
{ {
lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version
} }
printh 92 printh 92
prints "currentpage",0 prints "currentpage",0
printh 00 printh 00
prints "",0 prints "",0
printh 00 printh 00
printh FF FF FF printh FF FF FF
page 8//Power on start page boot page 8//Power on start page boot

View File

@@ -1,273 +1,273 @@
Page boot Page boot
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
sendme sendme
dim=0 dim=0
vis bt_reboot,0 vis bt_reboot,0
covx baud,baud_rate.txt,0,0 covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps" baud_rate.txt+=" bps"
covx display_mode,aux2.txt,0,0 covx display_mode,aux2.txt,0,0
nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}" nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}"
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints nspanelevent.txt,0 prints nspanelevent.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Page Exit Event Page Exit Event
dim=0 dim=0
Variable (int32) counter Variable (int32) counter
Attributes Attributes
ID : 12 ID : 12
Scope: local Scope: local
Value: 0 Value: 0
Variable (string) aux1 Variable (string) aux1
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Text : Text :
Max. Text Size: 10 Max. Text Size: 10
Variable (string) nspanelevent Variable (string) nspanelevent
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Text : Text :
Max. Text Size: 150 Max. Text Size: 150
Variable (string) aux2 Variable (string) aux2
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Text : Text :
Max. Text Size: 10 Max. Text Size: 10
Text ip_addr Text ip_addr
Attributes Attributes
ID : 1 ID : 1
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Initializing... Text : Initializing...
Max. Text Size : 15 Max. Text Size : 15
Text t0 Text t0
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Please wait... Text : Please wait...
Max. Text Size : 15 Max. Text Size : 15
Text t1 Text t1
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : The process can take several seconds! Text : The process can take several seconds!
Max. Text Size : 50 Max. Text Size : 50
Text tft_label Text tft_label
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : TFT: Text : TFT:
Max. Text Size : 4 Max. Text Size : 4
Text esph_label Text esph_label
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : ESPHome: Text : ESPHome:
Max. Text Size : 8 Max. Text Size : 8
Text bluep_label Text bluep_label
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Blueprint: Text : Blueprint:
Max. Text Size : 10 Max. Text Size : 10
Text tft_version Text tft_version
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : 4.2dev Text : 4.2dev
Max. Text Size : 9 Max. Text Size : 9
Text esph_version Text esph_version
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 9 Max. Text Size : 9
Text bluep_version Text bluep_version
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 9 Max. Text Size : 9
Text baud_rate Text baud_rate
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text framework Text framework
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Dual-state Button bt_reboot Dual-state Button bt_reboot
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: on press and release Send Component ID: on press and release
State : unpressed State : unpressed
Text : Reboot Text : Reboot
Max. Text Size : 6 Max. Text Size : 6
Timer timer Timer timer
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Period (ms): 65534 Period (ms): 65534
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
counter.val++ counter.val++
covx counter.val,aux1.txt,0,0 covx counter.val,aux1.txt,0,0
covx display_mode,aux2.txt,0,0 covx display_mode,aux2.txt,0,0
nspanelevent.txt="{\"page\": \"boot\", \"event\": \"timeout\", \"value\": "+aux1.txt+", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}" nspanelevent.txt="{\"page\": \"boot\", \"event\": \"timeout\", \"value\": "+aux1.txt+", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}"
bluep_version.txt="Retry: "+aux1.txt bluep_version.txt="Retry: "+aux1.txt
printh 92 printh 92
prints "nspanelevent",0 prints "nspanelevent",0
printh 00 printh 00
prints nspanelevent.txt,0 prints nspanelevent.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<100) if(dim<100)
{ {
dimdelta=100-dim dimdelta=100-dim
dimdelta/=25 dimdelta/=25
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
Timer tm_esphome Timer tm_esphome
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Period (ms): 30000 Period (ms): 30000
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(baud==115200) if(baud==115200)
{ {
bauds=921600 bauds=921600
}else }else
{ {
bauds=115200 bauds=115200
} }
covx baud,baud_rate.txt,0,0 covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps" baud_rate.txt+=" bps"
Timer tm_pageid Timer tm_pageid
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Period (ms): 2500 Period (ms): 2500
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
covx display_mode,aux2.txt,0,0 covx display_mode,aux2.txt,0,0
nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}" nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}"
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints nspanelevent.txt,0 prints nspanelevent.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF

View File

@@ -1,238 +1,238 @@
Page cover Page cover
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Variable (string) va1 Variable (string) va1
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Text : newtxt Text : newtxt
Max. Text Size: 10 Max. Text Size: 10
Variable (string) coversetting Variable (string) coversetting
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Text : Text :
Max. Text Size: 255 Max. Text Size: 255
Variable (string) back_page Variable (string) back_page
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Text : home Text : home
Max. Text Size: 15 Max. Text Size: 15
Text battery_value Text battery_value
Attributes Attributes
ID : 1 ID : 1
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text cover_value Text cover_value
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_label Text page_label
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 25 Max. Text Size : 25
Text icon_state Text icon_state
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text battery_icon Text battery_icon
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Slider coverslider Slider coverslider
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Position : 0 Position : 0
Upper range limit: 100 Upper range limit: 100
Lower range limit: 0 Lower range limit: 0
Events Events
Touch Release Event Touch Release Event
covx coverslider.val,va1.txt,0,0 covx coverslider.val,va1.txt,0,0
cover_value.txt=va1.txt+"%" cover_value.txt=va1.txt+"%"
coversetting.txt="{\"page\": \"cover\", \"key\": \"position\", \"value\": "+va1.txt+"}" coversetting.txt="{\"page\": \"cover\", \"key\": \"position\", \"value\": "+va1.txt+"}"
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints coversetting.txt,0 prints coversetting.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button cover_open Button cover_open
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text : Text :
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints "{\"page\": \"cover\", \"key\": \"open_cover\", \"value\": \"press\"}",0 prints "{\"page\": \"cover\", \"key\": \"open_cover\", \"value\": \"press\"}",0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button cover_close Button cover_close
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text : Text :
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints "{\"page\": \"cover\", \"key\": \"close_cover\", \"value\": \"press\"}",0 prints "{\"page\": \"cover\", \"key\": \"close_cover\", \"value\": \"press\"}",0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button cover_stop Button cover_stop
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text : Text :
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints "{\"page\": \"cover\", \"key\": \"stop_cover\", \"value\": \"press\"}",0 prints "{\"page\": \"cover\", \"key\": \"stop_cover\", \"value\": \"press\"}",0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button button_back Button button_back
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
if(back_page.txt=="buttonpage01") if(back_page.txt=="buttonpage01")
{ {
page buttonpage01 page buttonpage01
}else if(back_page.txt=="buttonpage02") }else if(back_page.txt=="buttonpage02")
{ {
page buttonpage02 page buttonpage02
}else if(back_page.txt=="buttonpage03") }else if(back_page.txt=="buttonpage03")
{ {
page buttonpage03 page buttonpage03
}else if(back_page.txt=="buttonpage04") }else if(back_page.txt=="buttonpage04")
{ {
page buttonpage04 page buttonpage04
}else }else
{ {
page home page home
} }
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }

View File

@@ -1,197 +1,197 @@
Page notification Page notification
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Variable (string) lastclick Variable (string) lastclick
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Text : Text :
Max. Text Size: 100 Max. Text Size: 100
Text notifi_text01 Text notifi_text01
Attributes Attributes
ID : 1 ID : 1
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 250 Max. Text Size : 250
Text notifi_label Text notifi_label
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 30 Max. Text Size : 30
Button button_back Button button_back
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Button bt_accept Button bt_accept
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Release Event Touch Release Event
lastclick.txt="{\"page\": \"notification\", \"component\": \"accept\", \"value\": \"release\"}" lastclick.txt="{\"page\": \"notification\", \"component\": \"accept\", \"value\": \"release\"}"
printh 92 printh 92
prints "nspanelevent",0 prints "nspanelevent",0
printh 00 printh 00
prints lastclick.txt,0 prints lastclick.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button bt_clear Button bt_clear
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 10 Max. Text Size : 10
Events Events
Touch Release Event Touch Release Event
lastclick.txt="{\"page\": \"notification\", \"component\": \"clear\", \"value\": \"release\"}" lastclick.txt="{\"page\": \"notification\", \"component\": \"clear\", \"value\": \"release\"}"
printh 92 printh 92
prints "nspanelevent",0 prints "nspanelevent",0
printh 00 printh 00
prints lastclick.txt,0 prints lastclick.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Timer swipestore Timer swipestore
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 3 ID : 3
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
//page //page
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
//page //page
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
//page //page
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
//page //page
} }
} }

View File

Before

Width:  |  Height:  |  Size: 120 B

After

Width:  |  Height:  |  Size: 120 B

View File

@@ -1,143 +1,143 @@
Page qrcode Page qrcode
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
sendme sendme
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text qrcode_label Text qrcode_label
Attributes Attributes
ID : 3 ID : 3
Scope : global Scope : global
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 30 Max. Text Size : 30
QR Code qrcode_value QR Code qrcode_value
Attributes Attributes
ID : 4 ID : 4
Scope : global Scope : global
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Text : Text :
Max. Text Size : 75 Max. Text Size : 75
Button button_back Button button_back
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
//page //page
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
//page //page
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
//page //page
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
//page //page
} }
} }

View File

@@ -1,36 +1,36 @@
Page screensaver Page screensaver
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
sendme sendme
dim=0 dim=0
Touch Release Event Touch Release Event
page orign.val page orign.val
Variable (int32) orign Variable (int32) orign
Attributes Attributes
ID : 2 ID : 2
Scope: local Scope: local
Value: 0 Value: 0
TouchCap wakeup TouchCap wakeup
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
page orign.val page orign.val

View File

@@ -1,26 +1,26 @@
Program.s Program.s
//The following code is only run once when power on, and is generally used for global variable definition and power on initialization data //The following code is only run once when power on, and is generally used for global variable definition and power on initialization data
int sys0=0,sys1=0,sys2=0,swipex=0,swipey=0,swipex2=0,swipey2=0,swipec=0,swipec2=0,swipedx=100,swipedy=100 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement int sys0=0,sys1=0,sys2=0,swipex=0,swipey=0,swipex2=0,swipey2=0,swipec=0,swipec2=0,swipedx=100,swipedy=100 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement
int r=0,g=0,b=0 int r=0,g=0,b=0
int h=0,s=0,v=0 int h=0,s=0,v=0
int p=0,q=0,t=0,f=0 int p=0,q=0,t=0,f=0
int dimdelta=0 int dimdelta=0
int api=0 // 0 = disconnected from HA, 1 = connected to HA int api=0 // 0 = disconnected from HA, 1 = connected to HA
int is_alarm=0,is_entities=0,is_qrcode=0,is_notification=0 int is_alarm=0,is_entities=0,is_qrcode=0,is_notification=0
int brightness=100,brightness_dim=40 int brightness=100,brightness_dim=40
int display_mode=2 // 1 = EU, 2 = US, 3 = US landscape int display_mode=2 // 1 = EU, 2 = US, 3 = US landscape
//bauds=115200//Configure baudrate //bauds=115200//Configure baudrate
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
randset 0,65535//used for touchevent sensor randset 0,65535//used for touchevent sensor
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
if(display_mode==1) if(display_mode==1)
{ {
lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version
} }
printh 92 printh 92
prints "currentpage",0 prints "currentpage",0
printh 00 printh 00
prints "",0 prints "",0
printh 00 printh 00
printh FF FF FF printh FF FF FF
page 8//Power on start page boot page 8//Power on start page boot

View File

@@ -1,273 +1,273 @@
Page boot Page boot
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
sendme sendme
dim=0 dim=0
vis bt_reboot,0 vis bt_reboot,0
covx baud,baud_rate.txt,0,0 covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps" baud_rate.txt+=" bps"
covx display_mode,aux2.txt,0,0 covx display_mode,aux2.txt,0,0
nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}" nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}"
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints nspanelevent.txt,0 prints nspanelevent.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Page Exit Event Page Exit Event
dim=0 dim=0
Variable (int32) counter Variable (int32) counter
Attributes Attributes
ID : 12 ID : 12
Scope: local Scope: local
Value: 0 Value: 0
Variable (string) aux1 Variable (string) aux1
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Text : Text :
Max. Text Size: 10 Max. Text Size: 10
Variable (string) nspanelevent Variable (string) nspanelevent
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Text : Text :
Max. Text Size: 150 Max. Text Size: 150
Variable (string) aux2 Variable (string) aux2
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Text : Text :
Max. Text Size: 10 Max. Text Size: 10
Text ip_addr Text ip_addr
Attributes Attributes
ID : 1 ID : 1
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Initializing... Text : Initializing...
Max. Text Size : 15 Max. Text Size : 15
Text t0 Text t0
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Please wait... Text : Please wait...
Max. Text Size : 15 Max. Text Size : 15
Text t1 Text t1
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : The process can take several seconds! Text : The process can take several seconds!
Max. Text Size : 50 Max. Text Size : 50
Text tft_label Text tft_label
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : TFT: Text : TFT:
Max. Text Size : 4 Max. Text Size : 4
Text esph_label Text esph_label
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : ESPHome: Text : ESPHome:
Max. Text Size : 8 Max. Text Size : 8
Text bluep_label Text bluep_label
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Blueprint: Text : Blueprint:
Max. Text Size : 10 Max. Text Size : 10
Text tft_version Text tft_version
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : 4.2dev Text : 4.2dev
Max. Text Size : 9 Max. Text Size : 9
Text esph_version Text esph_version
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 9 Max. Text Size : 9
Text bluep_version Text bluep_version
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 9 Max. Text Size : 9
Text baud_rate Text baud_rate
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text framework Text framework
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Dual-state Button bt_reboot Dual-state Button bt_reboot
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: on press and release Send Component ID: on press and release
State : unpressed State : unpressed
Text : Reboot Text : Reboot
Max. Text Size : 6 Max. Text Size : 6
Timer timer Timer timer
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Period (ms): 65534 Period (ms): 65534
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
counter.val++ counter.val++
covx counter.val,aux1.txt,0,0 covx counter.val,aux1.txt,0,0
covx display_mode,aux2.txt,0,0 covx display_mode,aux2.txt,0,0
nspanelevent.txt="{\"page\": \"boot\", \"event\": \"timeout\", \"value\": "+aux1.txt+", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}" nspanelevent.txt="{\"page\": \"boot\", \"event\": \"timeout\", \"value\": "+aux1.txt+", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}"
bluep_version.txt="Retry: "+aux1.txt bluep_version.txt="Retry: "+aux1.txt
printh 92 printh 92
prints "nspanelevent",0 prints "nspanelevent",0
printh 00 printh 00
prints nspanelevent.txt,0 prints nspanelevent.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<100) if(dim<100)
{ {
dimdelta=100-dim dimdelta=100-dim
dimdelta/=25 dimdelta/=25
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
Timer tm_esphome Timer tm_esphome
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Period (ms): 30000 Period (ms): 30000
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(baud==115200) if(baud==115200)
{ {
bauds=921600 bauds=921600
}else }else
{ {
bauds=115200 bauds=115200
} }
covx baud,baud_rate.txt,0,0 covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps" baud_rate.txt+=" bps"
Timer tm_pageid Timer tm_pageid
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Period (ms): 2500 Period (ms): 2500
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
covx display_mode,aux2.txt,0,0 covx display_mode,aux2.txt,0,0
nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}" nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}"
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints nspanelevent.txt,0 prints nspanelevent.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF

View File

@@ -1,238 +1,238 @@
Page cover Page cover
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Variable (string) va1 Variable (string) va1
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Text : newtxt Text : newtxt
Max. Text Size: 10 Max. Text Size: 10
Variable (string) coversetting Variable (string) coversetting
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Text : Text :
Max. Text Size: 255 Max. Text Size: 255
Variable (string) back_page Variable (string) back_page
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Text : home Text : home
Max. Text Size: 15 Max. Text Size: 15
Text battery_value Text battery_value
Attributes Attributes
ID : 1 ID : 1
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text cover_value Text cover_value
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_label Text page_label
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 25 Max. Text Size : 25
Text icon_state Text icon_state
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text battery_icon Text battery_icon
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Slider coverslider Slider coverslider
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Position : 0 Position : 0
Upper range limit: 100 Upper range limit: 100
Lower range limit: 0 Lower range limit: 0
Events Events
Touch Release Event Touch Release Event
covx coverslider.val,va1.txt,0,0 covx coverslider.val,va1.txt,0,0
cover_value.txt=va1.txt+"%" cover_value.txt=va1.txt+"%"
coversetting.txt="{\"page\": \"cover\", \"key\": \"position\", \"value\": "+va1.txt+"}" coversetting.txt="{\"page\": \"cover\", \"key\": \"position\", \"value\": "+va1.txt+"}"
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints coversetting.txt,0 prints coversetting.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button cover_open Button cover_open
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text : Text :
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints "{\"page\": \"cover\", \"key\": \"open_cover\", \"value\": \"press\"}",0 prints "{\"page\": \"cover\", \"key\": \"open_cover\", \"value\": \"press\"}",0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button cover_close Button cover_close
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text : Text :
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints "{\"page\": \"cover\", \"key\": \"close_cover\", \"value\": \"press\"}",0 prints "{\"page\": \"cover\", \"key\": \"close_cover\", \"value\": \"press\"}",0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button cover_stop Button cover_stop
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text : Text :
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints "{\"page\": \"cover\", \"key\": \"stop_cover\", \"value\": \"press\"}",0 prints "{\"page\": \"cover\", \"key\": \"stop_cover\", \"value\": \"press\"}",0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button button_back Button button_back
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
if(back_page.txt=="buttonpage01") if(back_page.txt=="buttonpage01")
{ {
page buttonpage01 page buttonpage01
}else if(back_page.txt=="buttonpage02") }else if(back_page.txt=="buttonpage02")
{ {
page buttonpage02 page buttonpage02
}else if(back_page.txt=="buttonpage03") }else if(back_page.txt=="buttonpage03")
{ {
page buttonpage03 page buttonpage03
}else if(back_page.txt=="buttonpage04") }else if(back_page.txt=="buttonpage04")
{ {
page buttonpage04 page buttonpage04
}else }else
{ {
page home page home
} }
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }

View File

@@ -1,390 +1,390 @@
Page entitypage01 Page entitypage01
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text value01_label Text value01_label
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value05_label Text value05_label
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value04_label Text value04_label
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value02_label Text value02_label
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value03_label Text value03_label
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text entity01_label Text entity01_label
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 30 Max. Text Size : 30
Text value06_label Text value06_label
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value07_label Text value07_label
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value08_label Text value08_label
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value01_pic Text value01_pic
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value02_pic Text value02_pic
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value03_pic Text value03_pic
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value04_pic Text value04_pic
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value05_pic Text value05_pic
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value06_pic Text value06_pic
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value07_pic Text value07_pic
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value08_pic Text value08_pic
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value01 Text value01
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value02 Text value02
Attributes Attributes
ID : 21 ID : 21
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03 Text value03
Attributes Attributes
ID : 22 ID : 22
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value04 Text value04
Attributes Attributes
ID : 23 ID : 23
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value05 Text value05
Attributes Attributes
ID : 24 ID : 24
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value06 Text value06
Attributes Attributes
ID : 25 ID : 25
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value07 Text value07
Attributes Attributes
ID : 26 ID : 26
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value08 Text value08
Attributes Attributes
ID : 27 ID : 27
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_index Text page_index
Attributes Attributes
ID : 29 ID : 29
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Button button_back Button button_back
Attributes Attributes
ID : 28 ID : 28
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 30 ID : 30
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
page entitypage04 page entitypage04
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
page entitypage02 page entitypage02
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
page entitypage03 page entitypage03
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
page entitypage04 page entitypage04
} }
} }

View File

@@ -1,390 +1,390 @@
Page entitypage02 Page entitypage02
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text value01_label Text value01_label
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value05_label Text value05_label
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value04_label Text value04_label
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value02_label Text value02_label
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value03_label Text value03_label
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text entity02_label Text entity02_label
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 30 Max. Text Size : 30
Text value06_label Text value06_label
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value07_label Text value07_label
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value08_label Text value08_label
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value01_pic Text value01_pic
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value02_pic Text value02_pic
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value03_pic Text value03_pic
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value04_pic Text value04_pic
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value05_pic Text value05_pic
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value06_pic Text value06_pic
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value07_pic Text value07_pic
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value08_pic Text value08_pic
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value01 Text value01
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value02 Text value02
Attributes Attributes
ID : 21 ID : 21
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03 Text value03
Attributes Attributes
ID : 22 ID : 22
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value04 Text value04
Attributes Attributes
ID : 23 ID : 23
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value05 Text value05
Attributes Attributes
ID : 24 ID : 24
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value06 Text value06
Attributes Attributes
ID : 25 ID : 25
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value07 Text value07
Attributes Attributes
ID : 26 ID : 26
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value08 Text value08
Attributes Attributes
ID : 27 ID : 27
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_index Text page_index
Attributes Attributes
ID : 29 ID : 29
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Button button_back Button button_back
Attributes Attributes
ID : 28 ID : 28
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 30 ID : 30
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
page entitypage01 page entitypage01
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
page entitypage03 page entitypage03
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
//page //page
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
//page //page
} }
} }

View File

@@ -1,390 +1,390 @@
Page entitypage03 Page entitypage03
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text value01_label Text value01_label
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value05_label Text value05_label
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value04_label Text value04_label
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value02_label Text value02_label
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value03_label Text value03_label
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text entity03_label Text entity03_label
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 30 Max. Text Size : 30
Text value06_label Text value06_label
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value07_label Text value07_label
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value08_label Text value08_label
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value01_pic Text value01_pic
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value02_pic Text value02_pic
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value03_pic Text value03_pic
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value04_pic Text value04_pic
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value05_pic Text value05_pic
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value06_pic Text value06_pic
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value07_pic Text value07_pic
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value08_pic Text value08_pic
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value01 Text value01
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value02 Text value02
Attributes Attributes
ID : 21 ID : 21
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03 Text value03
Attributes Attributes
ID : 22 ID : 22
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value04 Text value04
Attributes Attributes
ID : 23 ID : 23
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value05 Text value05
Attributes Attributes
ID : 24 ID : 24
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value06 Text value06
Attributes Attributes
ID : 25 ID : 25
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value07 Text value07
Attributes Attributes
ID : 26 ID : 26
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value08 Text value08
Attributes Attributes
ID : 27 ID : 27
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_index Text page_index
Attributes Attributes
ID : 29 ID : 29
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Button button_back Button button_back
Attributes Attributes
ID : 28 ID : 28
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 30 ID : 30
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
page entitypage02 page entitypage02
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
page entitypage04 page entitypage04
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
//page //page
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
page entitypage01 page entitypage01
} }
} }

View File

@@ -1,390 +1,390 @@
Page entitypage04 Page entitypage04
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text value01_label Text value01_label
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value05_label Text value05_label
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value04_label Text value04_label
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value02_label Text value02_label
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value03_label Text value03_label
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text entity04_label Text entity04_label
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 30 Max. Text Size : 30
Text value06_label Text value06_label
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value07_label Text value07_label
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value08_label Text value08_label
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value01_pic Text value01_pic
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value02_pic Text value02_pic
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value03_pic Text value03_pic
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value04_pic Text value04_pic
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value05_pic Text value05_pic
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value06_pic Text value06_pic
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value07_pic Text value07_pic
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value08_pic Text value08_pic
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value01 Text value01
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value02 Text value02
Attributes Attributes
ID : 21 ID : 21
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03 Text value03
Attributes Attributes
ID : 22 ID : 22
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value04 Text value04
Attributes Attributes
ID : 23 ID : 23
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value05 Text value05
Attributes Attributes
ID : 24 ID : 24
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value06 Text value06
Attributes Attributes
ID : 25 ID : 25
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value07 Text value07
Attributes Attributes
ID : 26 ID : 26
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value08 Text value08
Attributes Attributes
ID : 27 ID : 27
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_index Text page_index
Attributes Attributes
ID : 29 ID : 29
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Button button_back Button button_back
Attributes Attributes
ID : 28 ID : 28
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 30 ID : 30
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
page entitypage03 page entitypage03
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
page entitypage01 page entitypage01
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
page entitypage01 page entitypage01
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
//page //page
} }
} }

View File

@@ -1,207 +1,207 @@
Page notification Page notification
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Variable (string) lastclick Variable (string) lastclick
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Text : Text :
Max. Text Size: 100 Max. Text Size: 100
Text notifi_text01 Text notifi_text01
Attributes Attributes
ID : 1 ID : 1
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 250 Max. Text Size : 250
Text notifi_label Text notifi_label
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 30 Max. Text Size : 30
Text loading Text loading
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 1 Max. Text Size : 1
Button button_back Button button_back
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Button bt_accept Button bt_accept
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Release Event Touch Release Event
lastclick.txt="{\"page\": \"notification\", \"component\": \"accept\", \"value\": \"release\"}" lastclick.txt="{\"page\": \"notification\", \"component\": \"accept\", \"value\": \"release\"}"
printh 92 printh 92
prints "nspanelevent",0 prints "nspanelevent",0
printh 00 printh 00
prints lastclick.txt,0 prints lastclick.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button bt_clear Button bt_clear
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Release Event Touch Release Event
lastclick.txt="{\"page\": \"notification\", \"component\": \"clear\", \"value\": \"release\"}" lastclick.txt="{\"page\": \"notification\", \"component\": \"clear\", \"value\": \"release\"}"
printh 92 printh 92
prints "nspanelevent",0 prints "nspanelevent",0
printh 00 printh 00
prints lastclick.txt,0 prints lastclick.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Timer swipestore Timer swipestore
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 3 ID : 3
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
//page //page
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
//page //page
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
//page //page
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
//page //page
} }
} }

View File

@@ -1,143 +1,143 @@
Page qrcode Page qrcode
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
sendme sendme
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text qrcode_label Text qrcode_label
Attributes Attributes
ID : 3 ID : 3
Scope : global Scope : global
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 30 Max. Text Size : 30
QR Code qrcode_value QR Code qrcode_value
Attributes Attributes
ID : 4 ID : 4
Scope : global Scope : global
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Text : Text :
Max. Text Size : 75 Max. Text Size : 75
Button button_back Button button_back
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
//page //page
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
//page //page
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
//page //page
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
//page //page
} }
} }

View File

@@ -1,36 +1,36 @@
Page screensaver Page screensaver
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
sendme sendme
dim=0 dim=0
Touch Release Event Touch Release Event
page orign.val page orign.val
Variable (int32) orign Variable (int32) orign
Attributes Attributes
ID : 2 ID : 2
Scope: local Scope: local
Value: 0 Value: 0
TouchCap wakeup TouchCap wakeup
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
page orign.val page orign.val

View File

@@ -1,435 +1,435 @@
Page settings Page settings
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
sendme sendme
covx brightslider.val,bright_text.txt,0,0 covx brightslider.val,bright_text.txt,0,0
bright_text.txt+="%" bright_text.txt+="%"
covx dimslider.val,dim_text.txt,0,0 covx dimslider.val,dim_text.txt,0,0
dim_text.txt+="%" dim_text.txt+="%"
vis lbl_sleep,0 vis lbl_sleep,0
vis bt_sleep,0 vis bt_sleep,0
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text bright_text Text bright_text
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : 80% Text : 80%
Max. Text Size : 4 Max. Text Size : 4
Text dim_text Text dim_text
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : 20% Text : 20%
Max. Text Size : 4 Max. Text Size : 4
Text lbl_reboot Text lbl_reboot
Attributes Attributes
ID : 5 ID : 5
Scope : global Scope : global
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Reboot Text : Reboot
Max. Text Size : 25 Max. Text Size : 25
Text lbl_sleep Text lbl_sleep
Attributes Attributes
ID : 6 ID : 6
Scope : global Scope : global
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Sleep mode Text : Sleep mode
Max. Text Size : 25 Max. Text Size : 25
Text lbl_bright Text lbl_bright
Attributes Attributes
ID : 7 ID : 7
Scope : global Scope : global
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Bright Text : Bright
Max. Text Size : 25 Max. Text Size : 25
Text lbl_dim Text lbl_dim
Attributes Attributes
ID : 8 ID : 8
Scope : global Scope : global
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Dim Text : Dim
Max. Text Size : 25 Max. Text Size : 25
Text lbl_brightness Text lbl_brightness
Attributes Attributes
ID : 16 ID : 16
Scope : global Scope : global
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Brightness Text : Brightness
Max. Text Size : 25 Max. Text Size : 25
Text t0 Text t0
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text :  Text : 
Max. Text Size : 10 Max. Text Size : 10
Events Events
Touch Release Event Touch Release Event
if(brightslider.val<100) if(brightslider.val<100)
{ {
brightslider.val++ brightslider.val++
covx brightslider.val,bright_text.txt,0,0 covx brightslider.val,bright_text.txt,0,0
bright_text.txt+="%" bright_text.txt+="%"
printh 91 printh 91
prints "brightslider",0 prints "brightslider",0
printh 00 printh 00
prints brightslider.val,0 prints brightslider.val,0
printh FF FF FF printh FF FF FF
} }
Text t1 Text t1
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text :  Text : 
Max. Text Size : 10 Max. Text Size : 10
Events Events
Touch Release Event Touch Release Event
if(dimslider.val<100) if(dimslider.val<100)
{ {
dimslider.val++ dimslider.val++
covx dimslider.val,dim_text.txt,0,0 covx dimslider.val,dim_text.txt,0,0
dim_text.txt+="%" dim_text.txt+="%"
printh 91 printh 91
prints "dimslider",0 prints "dimslider",0
printh 00 printh 00
prints dimslider.val,0 prints dimslider.val,0
printh FF FF FF printh FF FF FF
} }
Text t2 Text t2
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text :  Text : 
Max. Text Size : 10 Max. Text Size : 10
Events Events
Touch Release Event Touch Release Event
if(dimslider.val>0) if(dimslider.val>0)
{ {
dimslider.val-- dimslider.val--
covx dimslider.val,dim_text.txt,0,0 covx dimslider.val,dim_text.txt,0,0
dim_text.txt+="%" dim_text.txt+="%"
printh 91 printh 91
prints "dimslider",0 prints "dimslider",0
printh 00 printh 00
prints dimslider.val,0 prints dimslider.val,0
printh FF FF FF printh FF FF FF
} }
Text t3 Text t3
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text :  Text : 
Max. Text Size : 10 Max. Text Size : 10
Events Events
Touch Release Event Touch Release Event
if(brightslider.val>0) if(brightslider.val>0)
{ {
brightslider.val-- brightslider.val--
covx brightslider.val,bright_text.txt,0,0 covx brightslider.val,bright_text.txt,0,0
bright_text.txt+="%" bright_text.txt+="%"
printh 91 printh 91
prints "brightslider",0 prints "brightslider",0
printh 00 printh 00
prints brightslider.val,0 prints brightslider.val,0
printh FF FF FF printh FF FF FF
} }
Slider brightslider Slider brightslider
Attributes Attributes
ID : 1 ID : 1
Scope : global Scope : global
Dragging : 0 Dragging : 0
Send Component ID: on press and release Send Component ID: on press and release
Position : 80 Position : 80
Upper range limit: 100 Upper range limit: 100
Lower range limit: 0 Lower range limit: 0
Events Events
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
if(tm_bright.en==0) if(tm_bright.en==0)
{ {
tm_bright.en=1 tm_bright.en=1
} }
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Slider dimslider Slider dimslider
Attributes Attributes
ID : 2 ID : 2
Scope : global Scope : global
Dragging : 0 Dragging : 0
Send Component ID: on press and release Send Component ID: on press and release
Position : 20 Position : 20
Upper range limit: 100 Upper range limit: 100
Lower range limit: 0 Lower range limit: 0
Events Events
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
if(tm_dim.en==0) if(tm_dim.en==0)
{ {
tm_dim.en=1 tm_dim.en=1
} }
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Button button_back Button button_back
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Dual-state Button bt_reboot Dual-state Button bt_reboot
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: on press and release Send Component ID: on press and release
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Dual-state Button bt_sleep Dual-state Button bt_sleep
Attributes Attributes
ID : 10 ID : 10
Scope : global Scope : global
Dragging : 0 Dragging : 0
Send Component ID: on press and release Send Component ID: on press and release
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Hotspot bt_bright_down Hotspot bt_bright_down
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Release Event Touch Release Event
if(brightslider.val>0) if(brightslider.val>0)
{ {
brightslider.val-- brightslider.val--
covx brightslider.val,bright_text.txt,0,0 covx brightslider.val,bright_text.txt,0,0
bright_text.txt+="%" bright_text.txt+="%"
printh 91 printh 91
prints "brightslider",0 prints "brightslider",0
printh 00 printh 00
prints brightslider.val,0 prints brightslider.val,0
printh FF FF FF printh FF FF FF
} }
Hotspot bt_bright_up Hotspot bt_bright_up
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Release Event Touch Release Event
if(brightslider.val<100) if(brightslider.val<100)
{ {
brightslider.val++ brightslider.val++
covx brightslider.val,bright_text.txt,0,0 covx brightslider.val,bright_text.txt,0,0
bright_text.txt+="%" bright_text.txt+="%"
printh 91 printh 91
prints "brightslider",0 prints "brightslider",0
printh 00 printh 00
prints brightslider.val,0 prints brightslider.val,0
printh FF FF FF printh FF FF FF
} }
Hotspot bt_dim_down Hotspot bt_dim_down
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Release Event Touch Release Event
if(dimslider.val>0) if(dimslider.val>0)
{ {
dimslider.val-- dimslider.val--
covx dimslider.val,dim_text.txt,0,0 covx dimslider.val,dim_text.txt,0,0
dim_text.txt+="%" dim_text.txt+="%"
printh 91 printh 91
prints "dimslider",0 prints "dimslider",0
printh 00 printh 00
prints dimslider.val,0 prints dimslider.val,0
printh FF FF FF printh FF FF FF
} }
Hotspot bt_dim_up Hotspot bt_dim_up
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Release Event Touch Release Event
if(dimslider.val<100) if(dimslider.val<100)
{ {
dimslider.val++ dimslider.val++
covx dimslider.val,dim_text.txt,0,0 covx dimslider.val,dim_text.txt,0,0
dim_text.txt+="%" dim_text.txt+="%"
printh 91 printh 91
prints "dimslider",0 prints "dimslider",0
printh 00 printh 00
prints dimslider.val,0 prints dimslider.val,0
printh FF FF FF printh FF FF FF
} }
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 21 ID : 21
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
Timer tm_bright Timer tm_bright
Attributes Attributes
ID : 22 ID : 22
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
printh 92 printh 92
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints "{\"page\": \"settings\", \"component\": \"touchevent\", \"value\": \"press\"}",0 prints "{\"page\": \"settings\", \"component\": \"touchevent\", \"value\": \"press\"}",0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Timer tm_dim Timer tm_dim
Attributes Attributes
ID : 23 ID : 23
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
covx dimslider.val,dim_text.txt,0,0 covx dimslider.val,dim_text.txt,0,0
dim_text.txt+="%" dim_text.txt+="%"
printh 91 printh 91
prints "dimslider",0 prints "dimslider",0
printh 00 printh 00
prints dimslider.val,0 prints dimslider.val,0
printh FF FF FF printh FF FF FF
tm_dim.en=0 tm_dim.en=0

View File

@@ -1,287 +1,287 @@
Page weather01 Page weather01
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text day Text day
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text date Text date
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 25 Max. Text Size : 25
Text temperature Text temperature
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value01 Text value01
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value05 Text value05
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value04 Text value04
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value02 Text value02
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value03 Text value03
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value01_icon Text value01_icon
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value02_icon Text value02_icon
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03_icon Text value03_icon
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value04_icon Text value04_icon
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value05_icon Text value05_icon
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text loading Text loading
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 1 Max. Text Size : 1
Text page_index Text page_index
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Picture weather_icon Picture weather_icon
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Button button_back Button button_back
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
page weather05 page weather05
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
page weather02 page weather02
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
//page //page
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
//page //page
} }
} }

View File

@@ -1,287 +1,287 @@
Page weather02 Page weather02
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text day Text day
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text loading Text loading
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 1 Max. Text Size : 1
Text date Text date
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 25 Max. Text Size : 25
Text temperature Text temperature
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value01 Text value01
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value05 Text value05
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value04 Text value04
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value02 Text value02
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value03 Text value03
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value01_icon Text value01_icon
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value02_icon Text value02_icon
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03_icon Text value03_icon
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value04_icon Text value04_icon
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value05_icon Text value05_icon
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_index Text page_index
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Picture weather_icon Picture weather_icon
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Button button_back Button button_back
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
page weather01 page weather01
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
page weather03 page weather03
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
//page //page
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
//page //page
} }
} }

View File

@@ -1,287 +1,287 @@
Page weather03 Page weather03
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text day Text day
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text loading Text loading
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 1 Max. Text Size : 1
Text date Text date
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 25 Max. Text Size : 25
Text temperature Text temperature
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value01 Text value01
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value05 Text value05
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value04 Text value04
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value02 Text value02
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value03 Text value03
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value01_icon Text value01_icon
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value02_icon Text value02_icon
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03_icon Text value03_icon
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value04_icon Text value04_icon
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value05_icon Text value05_icon
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_index Text page_index
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Picture weather_icon Picture weather_icon
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Button button_back Button button_back
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
page weather02 page weather02
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
page weather04 page weather04
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
//page //page
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
//page //page
} }
} }

View File

@@ -1,287 +1,287 @@
Page weather04 Page weather04
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text day Text day
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text loading Text loading
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 1 Max. Text Size : 1
Text date Text date
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 25 Max. Text Size : 25
Text temperature Text temperature
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value01 Text value01
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value05 Text value05
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value04 Text value04
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value02 Text value02
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value03 Text value03
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value01_icon Text value01_icon
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value02_icon Text value02_icon
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03_icon Text value03_icon
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value04_icon Text value04_icon
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value05_icon Text value05_icon
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_index Text page_index
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Picture weather_icon Picture weather_icon
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Button button_back Button button_back
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
page weather03 page weather03
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
page weather05 page weather05
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
//page //page
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
//page //page
} }
} }

View File

@@ -1,287 +1,287 @@
Page weather05 Page weather05
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text day Text day
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text loading Text loading
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 1 Max. Text Size : 1
Text date Text date
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 25 Max. Text Size : 25
Text temperature Text temperature
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value01 Text value01
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value05 Text value05
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value04 Text value04
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value02 Text value02
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value03 Text value03
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 15 Max. Text Size : 15
Text value01_icon Text value01_icon
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value02_icon Text value02_icon
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03_icon Text value03_icon
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value04_icon Text value04_icon
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value05_icon Text value05_icon
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_index Text page_index
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Picture weather_icon Picture weather_icon
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Button button_back Button button_back
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
page weather04 page weather04
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
page weather01 page weather01
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
//page //page
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
//page //page
} }
} }

View File

@@ -1,26 +1,26 @@
Program.s Program.s
//The following code is only run once when power on, and is generally used for global variable definition and power on initialization data //The following code is only run once when power on, and is generally used for global variable definition and power on initialization data
int sys0=0,sys1=0,sys2=0,swipex=0,swipey=0,swipex2=0,swipey2=0,swipec=0,swipec2=0,swipedx=100,swipedy=100 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement int sys0=0,sys1=0,sys2=0,swipex=0,swipey=0,swipex2=0,swipey2=0,swipec=0,swipec2=0,swipedx=100,swipedy=100 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement
int r=0,g=0,b=0 int r=0,g=0,b=0
int h=0,s=0,v=0 int h=0,s=0,v=0
int p=0,q=0,t=0,f=0 int p=0,q=0,t=0,f=0
int dimdelta=0 int dimdelta=0
int api=0 // 0 = disconnected from HA, 1 = connected to HA int api=0 // 0 = disconnected from HA, 1 = connected to HA
int is_alarm=0,is_entities=0,is_qrcode=0,is_notification=0 int is_alarm=0,is_entities=0,is_qrcode=0,is_notification=0
int brightness=100,brightness_dim=40 int brightness=100,brightness_dim=40
int display_mode=3 // 1 = EU, 2 = US, 3 = US landscape int display_mode=3 // 1 = EU, 2 = US, 3 = US landscape
//bauds=115200//Configure baudrate //bauds=115200//Configure baudrate
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
randset 0,65535//used for touchevent sensor randset 0,65535//used for touchevent sensor
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
if(display_mode==1) if(display_mode==1)
{ {
lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version
} }
printh 92 printh 92
prints "currentpage",0 prints "currentpage",0
printh 00 printh 00
prints "",0 prints "",0
printh 00 printh 00
printh FF FF FF printh FF FF FF
page 8//Power on start page boot page 8//Power on start page boot

View File

@@ -1,273 +1,273 @@
Page boot Page boot
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
sendme sendme
dim=0 dim=0
vis bt_reboot,0 vis bt_reboot,0
covx baud,baud_rate.txt,0,0 covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps" baud_rate.txt+=" bps"
covx display_mode,aux2.txt,0,0 covx display_mode,aux2.txt,0,0
nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}" nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}"
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints nspanelevent.txt,0 prints nspanelevent.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Page Exit Event Page Exit Event
dim=0 dim=0
Variable (int32) counter Variable (int32) counter
Attributes Attributes
ID : 12 ID : 12
Scope: local Scope: local
Value: 0 Value: 0
Variable (string) aux1 Variable (string) aux1
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Text : Text :
Max. Text Size: 10 Max. Text Size: 10
Variable (string) nspanelevent Variable (string) nspanelevent
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Text : Text :
Max. Text Size: 150 Max. Text Size: 150
Variable (string) aux2 Variable (string) aux2
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Text : Text :
Max. Text Size: 10 Max. Text Size: 10
Text ip_addr Text ip_addr
Attributes Attributes
ID : 1 ID : 1
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Initializing... Text : Initializing...
Max. Text Size : 15 Max. Text Size : 15
Text t0 Text t0
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Please wait... Text : Please wait...
Max. Text Size : 15 Max. Text Size : 15
Text t1 Text t1
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : The process can take several seconds! Text : The process can take several seconds!
Max. Text Size : 50 Max. Text Size : 50
Text tft_label Text tft_label
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : TFT: Text : TFT:
Max. Text Size : 4 Max. Text Size : 4
Text esph_label Text esph_label
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : ESPHome: Text : ESPHome:
Max. Text Size : 8 Max. Text Size : 8
Text bluep_label Text bluep_label
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Blueprint: Text : Blueprint:
Max. Text Size : 10 Max. Text Size : 10
Text tft_version Text tft_version
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : 4.2dev Text : 4.2dev
Max. Text Size : 9 Max. Text Size : 9
Text esph_version Text esph_version
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 9 Max. Text Size : 9
Text bluep_version Text bluep_version
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 9 Max. Text Size : 9
Text baud_rate Text baud_rate
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text framework Text framework
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Dual-state Button bt_reboot Dual-state Button bt_reboot
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: on press and release Send Component ID: on press and release
State : unpressed State : unpressed
Text : Reboot Text : Reboot
Max. Text Size : 6 Max. Text Size : 6
Timer timer Timer timer
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Period (ms): 65534 Period (ms): 65534
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
counter.val++ counter.val++
covx counter.val,aux1.txt,0,0 covx counter.val,aux1.txt,0,0
covx display_mode,aux2.txt,0,0 covx display_mode,aux2.txt,0,0
nspanelevent.txt="{\"page\": \"boot\", \"event\": \"timeout\", \"value\": "+aux1.txt+", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}" nspanelevent.txt="{\"page\": \"boot\", \"event\": \"timeout\", \"value\": "+aux1.txt+", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}"
bluep_version.txt="Retry: "+aux1.txt bluep_version.txt="Retry: "+aux1.txt
printh 92 printh 92
prints "nspanelevent",0 prints "nspanelevent",0
printh 00 printh 00
prints nspanelevent.txt,0 prints nspanelevent.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<100) if(dim<100)
{ {
dimdelta=100-dim dimdelta=100-dim
dimdelta/=25 dimdelta/=25
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
Timer tm_esphome Timer tm_esphome
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Period (ms): 30000 Period (ms): 30000
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(baud==115200) if(baud==115200)
{ {
bauds=921600 bauds=921600
}else }else
{ {
bauds=115200 bauds=115200
} }
covx baud,baud_rate.txt,0,0 covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps" baud_rate.txt+=" bps"
Timer tm_pageid Timer tm_pageid
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Period (ms): 2500 Period (ms): 2500
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
covx display_mode,aux2.txt,0,0 covx display_mode,aux2.txt,0,0
nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}" nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}"
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints nspanelevent.txt,0 prints nspanelevent.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF

View File

@@ -1,238 +1,238 @@
Page cover Page cover
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Variable (string) va1 Variable (string) va1
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Text : newtxt Text : newtxt
Max. Text Size: 10 Max. Text Size: 10
Variable (string) coversetting Variable (string) coversetting
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Text : Text :
Max. Text Size: 255 Max. Text Size: 255
Variable (string) back_page Variable (string) back_page
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Text : home Text : home
Max. Text Size: 15 Max. Text Size: 15
Text battery_value Text battery_value
Attributes Attributes
ID : 1 ID : 1
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text cover_value Text cover_value
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_label Text page_label
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 25 Max. Text Size : 25
Text icon_state Text icon_state
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text battery_icon Text battery_icon
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Slider coverslider Slider coverslider
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
Position : 0 Position : 0
Upper range limit: 100 Upper range limit: 100
Lower range limit: 0 Lower range limit: 0
Events Events
Touch Release Event Touch Release Event
covx coverslider.val,va1.txt,0,0 covx coverslider.val,va1.txt,0,0
cover_value.txt=va1.txt+"%" cover_value.txt=va1.txt+"%"
coversetting.txt="{\"page\": \"cover\", \"key\": \"position\", \"value\": "+va1.txt+"}" coversetting.txt="{\"page\": \"cover\", \"key\": \"position\", \"value\": "+va1.txt+"}"
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints coversetting.txt,0 prints coversetting.txt,0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button cover_open Button cover_open
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text : Text :
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints "{\"page\": \"cover\", \"key\": \"open_cover\", \"value\": \"press\"}",0 prints "{\"page\": \"cover\", \"key\": \"open_cover\", \"value\": \"press\"}",0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button cover_close Button cover_close
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text : Text :
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints "{\"page\": \"cover\", \"key\": \"close_cover\", \"value\": \"press\"}",0 prints "{\"page\": \"cover\", \"key\": \"close_cover\", \"value\": \"press\"}",0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button cover_stop Button cover_stop
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text : Text :
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
printh 92 printh 92
prints "localevent",0 prints "localevent",0
printh 00 printh 00
prints "{\"page\": \"cover\", \"key\": \"stop_cover\", \"value\": \"press\"}",0 prints "{\"page\": \"cover\", \"key\": \"stop_cover\", \"value\": \"press\"}",0
printh 00 printh 00
printh FF FF FF printh FF FF FF
Button button_back Button button_back
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
if(back_page.txt=="buttonpage01") if(back_page.txt=="buttonpage01")
{ {
page buttonpage01 page buttonpage01
}else if(back_page.txt=="buttonpage02") }else if(back_page.txt=="buttonpage02")
{ {
page buttonpage02 page buttonpage02
}else if(back_page.txt=="buttonpage03") }else if(back_page.txt=="buttonpage03")
{ {
page buttonpage03 page buttonpage03
}else if(back_page.txt=="buttonpage04") }else if(back_page.txt=="buttonpage04")
{ {
page buttonpage04 page buttonpage04
}else }else
{ {
page home page home
} }
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }

View File

@@ -1,390 +1,390 @@
Page entitypage01 Page entitypage01
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text value01_label Text value01_label
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value05_label Text value05_label
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value04_label Text value04_label
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value02_label Text value02_label
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value03_label Text value03_label
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text entity01_label Text entity01_label
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 30 Max. Text Size : 30
Text value06_label Text value06_label
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value07_label Text value07_label
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value08_label Text value08_label
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value01_pic Text value01_pic
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value02_pic Text value02_pic
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value03_pic Text value03_pic
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value04_pic Text value04_pic
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value05_pic Text value05_pic
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value06_pic Text value06_pic
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value07_pic Text value07_pic
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value08_pic Text value08_pic
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value01 Text value01
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value02 Text value02
Attributes Attributes
ID : 21 ID : 21
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03 Text value03
Attributes Attributes
ID : 22 ID : 22
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value04 Text value04
Attributes Attributes
ID : 23 ID : 23
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value05 Text value05
Attributes Attributes
ID : 24 ID : 24
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value06 Text value06
Attributes Attributes
ID : 25 ID : 25
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value07 Text value07
Attributes Attributes
ID : 26 ID : 26
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value08 Text value08
Attributes Attributes
ID : 27 ID : 27
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_index Text page_index
Attributes Attributes
ID : 29 ID : 29
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Button button_back Button button_back
Attributes Attributes
ID : 28 ID : 28
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 30 ID : 30
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
page entitypage04 page entitypage04
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
page entitypage02 page entitypage02
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
page entitypage03 page entitypage03
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
page entitypage04 page entitypage04
} }
} }

View File

@@ -1,390 +1,390 @@
Page entitypage02 Page entitypage02
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text value01_label Text value01_label
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value05_label Text value05_label
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value04_label Text value04_label
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value02_label Text value02_label
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value03_label Text value03_label
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text entity02_label Text entity02_label
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 30 Max. Text Size : 30
Text value06_label Text value06_label
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value07_label Text value07_label
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value08_label Text value08_label
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value01_pic Text value01_pic
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value02_pic Text value02_pic
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value03_pic Text value03_pic
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value04_pic Text value04_pic
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value05_pic Text value05_pic
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value06_pic Text value06_pic
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value07_pic Text value07_pic
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value08_pic Text value08_pic
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value01 Text value01
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value02 Text value02
Attributes Attributes
ID : 21 ID : 21
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03 Text value03
Attributes Attributes
ID : 22 ID : 22
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value04 Text value04
Attributes Attributes
ID : 23 ID : 23
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value05 Text value05
Attributes Attributes
ID : 24 ID : 24
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value06 Text value06
Attributes Attributes
ID : 25 ID : 25
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value07 Text value07
Attributes Attributes
ID : 26 ID : 26
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value08 Text value08
Attributes Attributes
ID : 27 ID : 27
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_index Text page_index
Attributes Attributes
ID : 29 ID : 29
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Button button_back Button button_back
Attributes Attributes
ID : 28 ID : 28
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 30 ID : 30
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
page entitypage01 page entitypage01
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
page entitypage03 page entitypage03
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
//page //page
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
//page //page
} }
} }

View File

@@ -1,390 +1,390 @@
Page entitypage03 Page entitypage03
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text value01_label Text value01_label
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value05_label Text value05_label
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value04_label Text value04_label
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value02_label Text value02_label
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value03_label Text value03_label
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text entity03_label Text entity03_label
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 30 Max. Text Size : 30
Text value06_label Text value06_label
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value07_label Text value07_label
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value08_label Text value08_label
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value01_pic Text value01_pic
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value02_pic Text value02_pic
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value03_pic Text value03_pic
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value04_pic Text value04_pic
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value05_pic Text value05_pic
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value06_pic Text value06_pic
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value07_pic Text value07_pic
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value08_pic Text value08_pic
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value01 Text value01
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value02 Text value02
Attributes Attributes
ID : 21 ID : 21
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03 Text value03
Attributes Attributes
ID : 22 ID : 22
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value04 Text value04
Attributes Attributes
ID : 23 ID : 23
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value05 Text value05
Attributes Attributes
ID : 24 ID : 24
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value06 Text value06
Attributes Attributes
ID : 25 ID : 25
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value07 Text value07
Attributes Attributes
ID : 26 ID : 26
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value08 Text value08
Attributes Attributes
ID : 27 ID : 27
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_index Text page_index
Attributes Attributes
ID : 28 ID : 28
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Button button_back Button button_back
Attributes Attributes
ID : 29 ID : 29
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 30 ID : 30
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
page entitypage02 page entitypage02
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
page entitypage04 page entitypage04
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
//page //page
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
page entitypage01 page entitypage01
} }
} }

View File

@@ -1,390 +1,390 @@
Page entitypage04 Page entitypage04
Attributes Attributes
ID : 0 ID : 0
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Locked : no Locked : no
Swide up page ID : disabled Swide up page ID : disabled
Swide down page ID : disabled Swide down page ID : disabled
Swide left page ID : disabled Swide left page ID : disabled
Swide right page ID: disabled Swide right page ID: disabled
Events Events
Preinitialize Event Preinitialize Event
if(api==0) if(api==0)
{ {
page home page home
}else }else
{ {
sendme sendme
} }
Touch Press Event Touch Press Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Touch Release Event Touch Release Event
printh 91 printh 91
prints "touchevent",0 prints "touchevent",0
printh 00 printh 00
prints rand,0 prints rand,0
printh FF FF FF printh FF FF FF
Text value01_label Text value01_label
Attributes Attributes
ID : 3 ID : 3
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value05_label Text value05_label
Attributes Attributes
ID : 4 ID : 4
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value04_label Text value04_label
Attributes Attributes
ID : 5 ID : 5
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value02_label Text value02_label
Attributes Attributes
ID : 6 ID : 6
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value03_label Text value03_label
Attributes Attributes
ID : 7 ID : 7
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text entity04_label Text entity04_label
Attributes Attributes
ID : 8 ID : 8
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 30 Max. Text Size : 30
Text value06_label Text value06_label
Attributes Attributes
ID : 9 ID : 9
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value07_label Text value07_label
Attributes Attributes
ID : 10 ID : 10
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value08_label Text value08_label
Attributes Attributes
ID : 11 ID : 11
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Text value01_pic Text value01_pic
Attributes Attributes
ID : 12 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value02_pic Text value02_pic
Attributes Attributes
ID : 13 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value03_pic Text value03_pic
Attributes Attributes
ID : 14 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value04_pic Text value04_pic
Attributes Attributes
ID : 15 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value05_pic Text value05_pic
Attributes Attributes
ID : 16 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value06_pic Text value06_pic
Attributes Attributes
ID : 17 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value07_pic Text value07_pic
Attributes Attributes
ID : 18 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value08_pic Text value08_pic
Attributes Attributes
ID : 19 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 5 Max. Text Size : 5
Text value01 Text value01
Attributes Attributes
ID : 20 ID : 20
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value02 Text value02
Attributes Attributes
ID : 21 ID : 21
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03 Text value03
Attributes Attributes
ID : 22 ID : 22
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value04 Text value04
Attributes Attributes
ID : 23 ID : 23
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value05 Text value05
Attributes Attributes
ID : 24 ID : 24
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value06 Text value06
Attributes Attributes
ID : 25 ID : 25
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value07 Text value07
Attributes Attributes
ID : 26 ID : 26
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value08 Text value08
Attributes Attributes
ID : 27 ID : 27
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text page_index Text page_index
Attributes Attributes
ID : 29 ID : 29
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard: none Associated Keyboard: none
Text : Text :
Max. Text Size : 20 Max. Text Size : 20
Button button_back Button button_back
Attributes Attributes
ID : 28 ID : 28
Scope : local Scope : local
Dragging : 0 Dragging : 0
Send Component ID: disabled Send Component ID: disabled
State : unpressed State : unpressed
Text :  Text : 
Max. Text Size : 3 Max. Text Size : 3
Events Events
Touch Press Event Touch Press Event
page home page home
Timer swipestore Timer swipestore
Attributes Attributes
ID : 2 ID : 2
Scope : local Scope : local
Period (ms): 50 Period (ms): 50
Enabled : no Enabled : no
Events Events
Timer Event Timer Event
swipex=tch0 swipex=tch0
swipey=tch1 swipey=tch1
Timer wakeup_timer Timer wakeup_timer
Attributes Attributes
ID : 30 ID : 30
Scope : local Scope : local
Period (ms): 100 Period (ms): 100
Enabled : yes Enabled : yes
Events Events
Timer Event Timer Event
if(dim<brightness) if(dim<brightness)
{ {
dimdelta=brightness-dim dimdelta=brightness-dim
dimdelta/=10 dimdelta/=10
if(dimdelta<1) if(dimdelta<1)
{ {
dimdelta=1 dimdelta=1
} }
dim+=dimdelta dim+=dimdelta
}else }else
{ {
wakeup_timer.en=0 wakeup_timer.en=0
} }
TouchCap swipe TouchCap swipe
Attributes Attributes
ID : 1 ID : 1
Scope: local Scope: local
Value: 0 Value: 0
Events Events
Touch Press Event Touch Press Event
swipestore.en=1 // Start swipestore timer swipestore.en=1 // Start swipestore timer
Touch Release Event Touch Release Event
swipestore.en=0 swipestore.en=0
// Touch has ended, x // Touch has ended, x
if(tch0==0) if(tch0==0)
{ {
swipec=swipex-tch2 swipec=swipex-tch2
// From Left to Right // From Left to Right
if(swipec>swipedx) if(swipec>swipedx)
{ {
page entitypage03 page entitypage03
} }
// Right to Left // Right to Left
swipec2=0-swipedx swipec2=0-swipedx
if(swipec<swipec2) if(swipec<swipec2)
{ {
page entitypage01 page entitypage01
} }
} }
// Touch has ended, y // Touch has ended, y
if(tch1==0) if(tch1==0)
{ {
swipec=swipey-tch3 swipec=swipey-tch3
// From Up to Down // From Up to Down
if(swipec>100) if(swipec>100)
{ {
page entitypage01 page entitypage01
} }
// Down to Up // Down to Up
swipec2=0-swipedy swipec2=0-swipedy
if(swipec<-100) if(swipec<-100)
{ {
//page //page
} }
} }

Some files were not shown because too many files have changed in this diff Show More