2023-12-25 14:00:54 +07:00
|
|
|
{"components":[{"id":"____screen","createTime":1703134883430,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#000000","backgroundImage":"","size":0,"screenType":"default","type":"screen"},{"id":"____buttonA","createTime":1703134883430,"name":"ButtonA","buttonIndex":0,"x":44,"y":274,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1703134883430,"name":"ButtonB","buttonIndex":1,"x":158,"y":274,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1703134883430,"name":"ButtonC","buttonIndex":2,"x":273,"y":274,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"RH7LUbkAu-RrBkKv","createTime":1703135495824,"isCoreTwo":false,"isPaper":false,"name":"label0","x":30,"y":110,"color":"#ffffff","text":"M5SafeRoom","font":"lcd.FONT_DejaVu18","rotation":0,"screenType":"default","type":"label","layer":5}],"type":"core","versions":"Beta","units":[],"hats":[],"stamps":[],"blockly":"<variables><variable id=\"gcvAxks6I]:fSEJ7AiH*\">turnOn</variable><variable id=\"^EYXH!q!skWEU#8L?w,%\">entryName</variable><variable id=\"{M@~Jag]@@[_ehcv4[`W\">colorName</variable><variable id=\"^~[y;qpKM}mb$iwVE4cT\">ezdata_value1</variable><variable id=\"[}OvCufm4:FUVBtadnh~\">shiftRegisterTemplate</variable><variable id=\"fqmShx}UVNchL.PM[4^y\">brightness</variable><variable id=\"AY)x(zkHRL5@rYECii[y\">temperature</variable><variable id=\"s[?2x::?0HX*bR}vU)MY\">sensorPinout</variable><variable id=\"?2j*G42rmw^F?@4{Jdml\">events</variable><variable id=\"SZ(8wU`1H!z`fg%jBzU~\">ledBitNumber</variable><variable id=\"ki4[=cP23.~?yGfsb/Q{\">entryBitNumber</variable></variables><block type=\"procedures_defnoreturn\" id=\"Nd_[r{l8JqB;f7$%i.Y;\" x=\"-790\" y=\"-1130\"><field name=\"NAME\">gasHandler</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"controls_if\" id=\"ocY8lWqxM(!GkR^m`2D[\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"bo)WuSvN[M@?d4u2_e~$\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"pin_get_value\" id=\"hZ!%5ba1bk(!Ly75lx^Z\"><field name=\"PINGS\">pin0</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"T%nYSgw1qCoz0x3PMYE-\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_map_key\" id=\"j?7itGR6nOazHktj*g2[\"><value name=\"map\"><block type=\"variables_get\" id=\"[Fa~X_x8J9#~gRgtP{N0\"><field name=\"VAR\" id=\"?2j*G42rmw^F?@4{Jdml\">events</field></block></value><value name=\"key\"><block type=\"text\" id=\"J=E+_*R-!-R@+7?GN+$w\"><field name=\"TEXT\">gas</field></block></value><value name=\"value\"><block type=\"ntp_get_timestamp\" id=\"Hv1U)$f@7U3+o5JJ9?6(\"></block></value></block></statement><next><block type=\"controls_ifelse\" id=\"3WU(KR-g3j;4+`B_Vooa\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"jCFVd!V*Cu3N~^v9(O#l\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"math_arithmetic\" id=\"~CvB}zDTt7!BJ:[a8QoX\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"ntp_get_timestamp\" id=\"v,{Zp[wwN7+D_te@Cq{4\"></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"g%]/uC0J~{=*(QBiCP;%\"><value name=\"key\"><block type=\"text\" id=\"hv:3=9C58PH;/FR5?-jr\"><field name=\"TEXT\">gas</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"kOOFu}VK+HcO!Rhwa6Wh\"><field name=\"VAR\" id=\"?2j*G42rmw^F?@4{Jdml\">events</field></block></value></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"K@`QC[buL]5KV6_q,?L8\"><field name=\"NUM\">10</field></block></value></block></value><statement name=\"DO0\"><block type=\"procedures_callnoreturn\" id=\"F(z3GnhR5q?n7RFW0B@]\"><mutation name=\"ledBar\"><arg name=\"colorName\"></arg><arg name=\"turnOn\"></arg></mutation><value name=\"ARG0\"><block type=\"text\" id=\"VAygg[K1zB5;q/MAZK|c\"><field name=\"TEXT\">blue</field></block></value><value name=\"ARG1\"><block typ
|