-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstartscreen.m5f
1 lines (1 loc) · 8.46 KB
/
startscreen.m5f
1
{"components":[{"id":"_coretwoscreen","createTime":1606292881591,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#FFFFFF","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1606292881591,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1606292881591,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1606292881591,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"fMkn*pLEgR^ap$eh","createTime":1606293870563,"isCoreTwo":true,"isPaper":false,"name":"time_start","x":5,"y":47,"color":"#000","text":"Retrieving time","font":"FONT_MONT_26","rotation":0,"type":"label","layer":3},{"id":"QWr#V&h6Z#=K^Yvw","createTime":1606513482433,"name":"To_Menu","x":35,"y":140,"width":250,"height":70,"r":50,"text":"Press to continue","font":"FONT_MONT_14","color":"#000000","borderColor":"#01a2b1","backgroundColor":"#FFFFFF","type":"touch_button","layer":3},{"id":"zjml3Q9w-GO!Hw+b","createTime":1606513557001,"isCoreTwo":true,"name":"line0","x":0,"y":25,"x1":0,"y1":25,"x2":320,"y2":25,"width":50,"color":"#000","lineWidth":1,"type":"line","layer":54},{"id":"Xn@FnKN!6f^!gcQ5","createTime":1606513573268,"isCoreTwo":true,"isPaper":false,"name":"time_topscreen","x":155,"y":4,"color":"#000","text":"Retrieving time","font":"FONT_MONT_14","rotation":0,"type":"label","layer":50},{"id":"t3zRi$ygeX#$w^ey","createTime":1606742255883,"isCoreTwo":true,"isPaper":false,"name":"Battery_percentage","x":83,"y":4,"color":"#000","text":"%","font":"FONT_MONT_12","rotation":0,"type":"label","layer":50}],"type":"core2","versions":"Beta","units":[],"hats":[],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"50\" y=\"50\"><next><block type=\"wifi_doConnect\" id=\"I[^B1:J~qW/3bX]Ge85e\"><value name=\"apiKey\"><shadow type=\"text\" id=\"2xgv/v2hoID_/$,xK0=2\"><field name=\"TEXT\">SSID</field></shadow></value><value name=\"Msg\"><shadow type=\"text\" id=\"]bQ4}H:Z4fJC`#2KXiVl\"><field name=\"TEXT\">PASSWORD</field></shadow></value><next><block type=\"lcd_rect\" id=\"h%)v+w`pF*H(Lf[q9ti?\"><field name=\"COLOR_TYPE\">color</field><field name=\"COLOR\">#000000</field><value name=\"X\"><shadow type=\"math_number\" id=\"3KtIv3yH:`tZ]0w}8)po\"><field name=\"NUM\">80</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"?QT,-9v2-rvtzNydml4z\"><field name=\"NUM\">2</field></shadow></value><value name=\"WIDTH\"><shadow type=\"math_number\" id=\"-|ch0($BCj;P5J6PolhN\"><field name=\"NUM\">60</field></shadow></value><value name=\"HEIGHT\"><shadow type=\"math_number\" id=\"Au3:vt=oNZeU2xquFkj.\"><field name=\"NUM\">20</field></shadow></value><next><block type=\"lcd_rect\" id=\"E-u_Y^CS.A|+]/lNkayK\"><field name=\"COLOR_TYPE\">color</field><field name=\"COLOR\">#000000</field><value name=\"X\"><shadow type=\"math_number\" id=\"7sOnm5n*{5Mlc%sPRomr\"><field name=\"NUM\">139</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"Gr2;;D6q.AQB/d8REyC7\"><field name=\"NUM\">7</field></shadow></value><value name=\"WIDTH\"><shadow type=\"math_number\" id=\"D!`,_;[ZT(g/-jyNEhyi\"><field name=\"NUM\">5</field></shadow></value><value name=\"HEIGHT\"><shadow type=\"math_number\" id=\"x[5VHF[#cGFzPOkF6z@u\"><field name=\"NUM\">10</field></shadow></value><next><block type=\"basic_on_loop\" id=\"Q!adY$x[]hXFkUxM^,U6\"><statement name=\"LOOP\"><block type=\"label_set_text\" id=\";stlN^B_g!z8Okg5:dd/\"><field name=\"COMPONENT\">time_start</field><value name=\"TEXT\"><shadow type=\"text\" id=\"F1(CP-4=ot*GI{Isi}by\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"rtc_get_printtime\" id=\"PL-OuG%1_|{9wR6HiBzp\"></block></value><next><block type=\"label_set_text\" id=\"yovs8;_BcMHleUBK2j+c\"><field name=\"COMPONENT\">time_topscreen</field><value name=\"TEXT\"><shadow type=\"text\" id=\"u.de7|z|VbGhA%CMMsU3\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"rtc_get_printtime\" id=\"_zef2J-e5VX20pC)i})j\"></block></value><next><block type=\"controls_if\" id=\"C-zV`@1K`leh^R=dI`Qi\"><mutation elseif=\"3\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"D.Q51NAh-f7|PuiqTL7i\"><field name=\"OP\">LTE</field><value name=\"A\"><block type=\"power_get_bat_voltage\" id=\"J#IiUu.q(2/`z%aVtg3+\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"QihEQv++k@kAvFhoE*,E\"><field name=\"NUM\">3.65</field></block></value></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"RYfL?qi|H{;Hy97b2@Jp\"><field name=\"COMPONENT\">Battery_percentage</field><value name=\"TEXT\"><shadow type=\"text\" id=\"0i94~B@oJJxizxJc8gW(\"><field name=\"TEXT\">CHARGE</field></shadow></value><next><block type=\"label_set_position\" id=\"IH;gy_`)y@`{]ib$,bH1\"><field name=\"COMPONENT\">Battery_percentage</field><value name=\"X\"><shadow type=\"math_number\" id=\"9fssx}KgJ1kcBUt@IZau\"><field name=\"NUM\">83</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"OSG1[jAQU_$Nilf:m$?f\"><field name=\"NUM\">4</field></shadow></value></block></next></block></statement><value name=\"IF1\"><block type=\"logic_compare\" id=\"]wWwU;x!p61.6+h?8WCl\"><field name=\"OP\">LTE</field><value name=\"A\"><block type=\"power_get_bat_voltage\" id=\"bEctw40+93T}M}~g_4!+\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"5V;GV+c.2x^|l(@w7G,!\"><field name=\"NUM\">3.8</field></block></value></block></value><statement name=\"DO1\"><block type=\"label_set_text\" id=\"jzKeWK2(i8K$BT5^cU3+\"><field name=\"COMPONENT\">Battery_percentage</field><value name=\"TEXT\"><shadow type=\"text\" id=\"9_r]BA$BbhWG!u!(_mV5\"><field name=\"TEXT\">LOW</field></shadow></value><next><block type=\"label_set_position\" id=\"PmGBmzXljB9JnokpUIny\"><field name=\"COMPONENT\">Battery_percentage</field><value name=\"X\"><shadow type=\"math_number\" id=\"3OMfaPRy7-8,gpLv87xn\"><field name=\"NUM\">96</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"zS$#.~P0B`aZt@0Z/6j=\"><field name=\"NUM\">4</field></shadow></value></block></next></block></statement><value name=\"IF2\"><block type=\"logic_compare\" id=\"F2EGYu@u@]v~4a{;^l6L\"><field name=\"OP\">LTE</field><value name=\"A\"><block type=\"power_get_bat_voltage\" id=\"7vTwQ87DF/d{Y%,e*(4|\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"#{^wKMgkLbI*}38sKC9/\"><field name=\"NUM\">3.95</field></block></value></block></value><statement name=\"DO2\"><block type=\"label_set_text\" id=\"OmGRka+;E=Zc:T$3$2oa\"><field name=\"COMPONENT\">Battery_percentage</field><value name=\"TEXT\"><shadow type=\"text\" id=\"v$iUMV%7{F`nyqMZ%K:{\"><field name=\"TEXT\">MED</field></shadow></value><next><block type=\"label_set_position\" id=\"p#E/grXQ$r%lzZf17VKf\"><field name=\"COMPONENT\">Battery_percentage</field><value name=\"X\"><shadow type=\"math_number\" id=\"cvZda^ZAoRW|**v*a][9\"><field name=\"NUM\">96</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"gmjnE:g$GBclH)=jd~Hc\"><field name=\"NUM\">4</field></shadow></value></block></next></block></statement><value name=\"IF3\"><block type=\"logic_compare\" id=\"~2dDz#LR)wS7c%ae6x7b\"><field name=\"OP\">LTE</field><value name=\"A\"><block type=\"power_get_bat_voltage\" id=\"Md;H!bq^05$!3oSx4O]#\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"XkDy.D2$PxNfP4lJGUp]\"><field name=\"NUM\">4.2</field></block></value></block></value><statement name=\"DO3\"><block type=\"label_set_text\" id=\"|lJ/}R-I1TM46(nOz(B4\"><field name=\"COMPONENT\">Battery_percentage</field><value name=\"TEXT\"><shadow type=\"text\" id=\"39,eRC8tO-|5V0f{kh,}\"><field name=\"TEXT\">HIGH</field></shadow></value><next><block type=\"label_set_position\" id=\"[IK%={NdyFq]m%{K(V?_\"><field name=\"COMPONENT\">Battery_percentage</field><value name=\"X\"><shadow type=\"math_number\" id=\"=$dcxTQbuFlWEK0:ZMfw\"><field name=\"NUM\">94</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"|YZT%DURUftR3hlL^|PC\"><field name=\"NUM\">4</field></shadow></value></block></next></block></statement></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block><block type=\"button_set_cb\" id=\"`9Rx+`1%tqWhdlVs|#.|\" x=\"50\" y=\"790\"><field name=\"COMPONENT\">To_Menu</field><field name=\"EVENT\">pressed</field></block>","Blockly.Remotes":[],"modules":[]}