You've already forked uiflow-micropython
mirror of
https://github.com/m5stack/uiflow-micropython.git
synced 2026-05-20 10:39:27 -07:00
e099fc94c2
Signed-off-by: hlym123 <lwylwt@qq.com>
1 line
10 KiB
Plaintext
1 line
10 KiB
Plaintext
{"version":"V2.0","versionNumber":"V2.4.4","type":"stack-chan","components":[{"name":"page0","type":"lvgl_page","layer":0,"screenId":"builtin","screenName":"","id":"a*+%mUHHi=G2dWY-","createTime":1777256554588,"backgroundColor":"#000000","isLVGL":true,"isSelected":true},{"name":"label_title","type":"lvgl_label","layer":1,"screenId":"builtin","screenName":"","id":"pjOQxlGu`$wSM0Lx","createTime":1777257055169,"x":58,"y":5,"color":"#13c2eb","backgroundColor":"#ffffff","bg_opacity":0,"text":"NFC Card detect","font":"lv.font_montserrat_24","pageId":"a*+%mUHHi=G2dWY-","isLVGL":true,"isSelected":false},{"name":"label_uid","type":"lvgl_label","layer":2,"screenId":"builtin","screenName":"","id":"z+PP1oJ_%NBmX-z*","createTime":1777257099711,"x":18,"y":70,"color":"#ffffff","backgroundColor":"#ffffff","bg_opacity":0,"text":"UID:","font":"lv.font_montserrat_16","pageId":"a*+%mUHHi=G2dWY-","isLVGL":true,"isSelected":false,"width":34,"height":18},{"name":"label_type","type":"lvgl_label","layer":3,"screenId":"builtin","screenName":"","id":"sU#f3XL2`2n@ud2q","createTime":1777257099711,"x":10,"y":100,"color":"#ffffff","backgroundColor":"#ffffff","bg_opacity":0,"text":"Tyep:","font":"lv.font_montserrat_16","pageId":"a*+%mUHHi=G2dWY-","isLVGL":true,"isSelected":false,"width":42,"height":18},{"name":"label_size","type":"lvgl_label","layer":4,"screenId":"builtin","screenName":"","id":"qG3_a^EjKadOs#iE","createTime":1777257099711,"x":16,"y":130,"color":"#ffffff","backgroundColor":"#ffffff","bg_opacity":0,"text":"Size:","font":"lv.font_montserrat_16","pageId":"a*+%mUHHi=G2dWY-","isLVGL":true,"isSelected":false,"width":36,"height":18}],"resources":[{"hardware":["hardware_button","hardware_pin_button","imu","rgb","speaker","touch","als","ir","mic","touchpad","hardware_servo","hardware_nfc","sdcard"]}],"units":[],"hats":[],"caps":[],"chains":[],"bases":[],"plcmodules":[],"i2cs":[],"chainBus":[],"blockly":"<variables><variable id=\"{{_}4IcTFtwjg#y].%zE\">card_0</variable><variable id=\"|x~Qh[:#``eq%S~88me]\">card_uid</variable><variable id=\"5Gwq?[qZ3@Jd/?+T;y~v\">new</variable><variable id=\"8,p%vjn1k!QevE=d@q)M\">card_type</variable><variable id=\"f/7^YJ.54)q[AY@0UhiF\">card_size</variable><variable id=\"(nZ:w*V]J)]Mnj(cjl35\">last_time</variable></variables><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"50\" y=\"50\"><mutation isBegin=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_begin\" id=\"+(oP[@%$T$=oWKC,UXF{\"><next><block type=\"lvgl_page_screen_load\" id=\"Ji{tDJEK*F-s^cITplS-\"><field name=\"NAME\">page0</field><next><block type=\"system_stackchan_init\" id=\"cV$0W+5mHraUQsqCnh=V\"><field name=\"I2C\">1</field><field name=\"UART\">1</field><next><block type=\"speaker_begin\" id=\":7UwhfK?=]5ed!;6X]Y3\"><next><block type=\"speaker_set_volume_percentage\" id=\"X6`#*x%hscmcg96{tpW!\"><value name=\"VOLUME\"><shadow type=\"math_slider\" id=\"rCb%Hc454ABCao_HMR6}\"><mutation max=\"100\" min=\"0\" step=\"1\" precision=\"1\"></mutation><field name=\"NUM\">60</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block><block type=\"basic_on_loop\" id=\"loop_block\" deletable=\"false\" x=\"50\" y=\"310\"><mutation isUpdate=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_update\" id=\"dry%GTXIw%64;bT|*gEX\"><next><block type=\"variables_set\" id=\"9}}@Yibg~fuK7=z0Q8+H\"><field name=\"VAR\" id=\"{{_}4IcTFtwjg#y].%zE\">card_0</field><value name=\"VALUE\"><block type=\"hardware_nfc_detect\" id=\".JR9*XKt.3+0:o#:41%U\"></block></value><next><block type=\"controls_if\" id=\"K4}9;ukdI$f.t9,8nezk\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"variables_get\" id=\":p;mq/vjrHHJ^W(FHEOe\"><field name=\"VAR\" id=\"{{_}4IcTFtwjg#y].%zE\">card_0</field></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"HGyfIlNu)6!24#?]/*}j\"><field name=\"VAR\" id=\"|x~Qh[:#``eq%S~88me]\">card_uid</field><value name=\"VALUE\"><block type=\"hardware_nfc_card_attribute\" id=\"LQ;Cz;;Y.$/q3-U;B$@V\"><field name=\"NAME\" id=\"{{_}4IcTFtwjg#y].%zE\">card_0</field><field name=\"OPTION\">uid_str</field></block></value><next><block type=\"variables_set\" id=\"{_T=n#7gt8kF$:ho/Uhb\"><field name=\"VAR\" id=\"8,p%vjn1k!QevE=d@q)M\">card_type</field><value name=\"VALUE\"><block type=\"hardware_nfc_card_attribute\" id=\"ZWy]-QUz,DD@m-v(h}ey\"><field name=\"NAME\" id=\"{{_}4IcTFtwjg#y].%zE\">card_0</field><field name=\"OPTION\">type_name</field></block></value><next><block type=\"variables_set\" id=\"f#.AWR9u=yVj6-tNg3ai\"><field name=\"VAR\" id=\"f/7^YJ.54)q[AY@0UhiF\">card_size</field><value name=\"VALUE\"><block type=\"hardware_nfc_card_attribute\" id=\"S@eah{=./:D]k-Ntd25.\"><field name=\"NAME\" id=\"{{_}4IcTFtwjg#y].%zE\">card_0</field><field name=\"OPTION\">user_memory</field></block></value><next><block type=\"lvgl_label_set_text\" id=\";B{4SVBQ,/#,zr$,mdx;\"><field name=\"NAME\">label_uid</field><value name=\"VALUE\"><shadow type=\"text\" id=\"-o|f[ZlnKQL!Lj24E0AX\"><field name=\"TEXT\">hello M5</field></shadow><block type=\"text_add_str\" id=\"]ougxXJVqkO-xT?5~i|v\"><value name=\"VALUE1\"><shadow type=\"text\" id=\"V}-!QrjuE1pZN?dG8#mm\"><field name=\"TEXT\">UID: </field></shadow></value><value name=\"VALUE2\"><block type=\"variables_get\" id=\"?f7Lk*Z*|?g:^f_R:YS*\"><field name=\"VAR\" id=\"|x~Qh[:#``eq%S~88me]\">card_uid</field></block></value></block></value><next><block type=\"lvgl_label_set_text\" id=\"4dO|lA,e2NY:MyPeqMP$\"><field name=\"NAME\">label_type</field><value name=\"VALUE\"><shadow type=\"text\" id=\"-o|f[ZlnKQL!Lj24E0AX\"><field name=\"TEXT\">hello M5</field></shadow><block type=\"text_add_str\" id=\"YBWzOsiqY%mIp_PAxh-U\"><value name=\"VALUE1\"><shadow type=\"text\" id=\"_*-V?MTh-u7hLb[/kvQP\"><field name=\"TEXT\">Tyep: </field></shadow></value><value name=\"VALUE2\"><block type=\"variables_get\" id=\":azv%}8m[yX|3t#X!s3=\"><field name=\"VAR\" id=\"8,p%vjn1k!QevE=d@q)M\">card_type</field></block></value></block></value><next><block type=\"lvgl_label_set_text\" id=\"E}9yg$#4ZmiXsdrzk:P7\"><field name=\"NAME\">label_size</field><value name=\"VALUE\"><shadow type=\"text\" id=\"-o|f[ZlnKQL!Lj24E0AX\"><field name=\"TEXT\">hello M5</field></shadow><block type=\"text_add_str\" id=\"4-C3e%Jf^UlH^-QYjyl+\"><value name=\"VALUE1\"><shadow type=\"text\" id=\"U+O@/lCUOEQZqolNSQD1\"><field name=\"TEXT\">Size: </field></shadow></value><value name=\"VALUE2\"><block type=\"variables_get\" id=\"0z]c8kB5-g.JkI{8-Xga\"><field name=\"VAR\" id=\"f/7^YJ.54)q[AY@0UhiF\">card_size</field></block></value></block></value><next><block type=\"controls_if\" id=\"8IlG@YTYs5^pu_i++12V\"><value name=\"IF0\"><block type=\"logic_operation\" id=\"aq7*(UWvS*Y+AHKqu9fm\"><field name=\"OP\">OR</field><value name=\"A\"><block type=\"logic_compare\" id=\"B-Bes0`0-DU!K/V::9?8\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"time_get_ticks_diff\" id=\"?|4bwXWO4A#kYh{HXIP4\"><value name=\"TICKS1\"><shadow type=\"math_number\" id=\"`{fRPkk?[Kijzw,KIpL1\" disabled=\"true\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">1</field></shadow><block type=\"time_get_ticks_ms\" id=\"TR#,4FE;(vFf#=LrFT?^\"></block></value><value name=\"TICKS2\"><shadow type=\"math_number\" id=\"kh;l.[xl7M~d~S;XgbcS\" disabled=\"true\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"k,/}PDZ/r6uAv!OA1|}^\"><field name=\"VAR\" id=\"(nZ:w*V]J)]Mnj(cjl35\">last_time</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"$U94:6gVhN99xW|?wA%+\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">3000</field></block></value></block></value><value name=\"B\"><block type=\"variables_get\" id=\"w]/!6OV=#Yls9(aX~2J0\"><field name=\"VAR\" id=\"5Gwq?[qZ3@Jd/?+T;y~v\">new</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"_.{PXF00x4W*FG6vE-s/\"><field name=\"VAR\" id=\"(nZ:w*V]J)]Mnj(cjl35\">last_time</field><value name=\"VALUE\"><block type=\"time_get_ticks_ms\" id=\"W_Cyt27;Bc2EGSw5@WU3\"></block></value><next><block type=\"rgb_set_rgb_color_all\" id=\"*DaEXtGMg?i}a?7dQrp_\"><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"7F.=cVbcOGPsPj_0Em:V\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#009900</field></block></value><next><block type=\"speaker_tone\" id=\"^XQT3}~##BK=GY@VM/k6\"><value name=\"FREQ\"><shadow type=\"math_number\" id=\"isg*2oaW9_ZGN{8B!$id\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">1234</field></shadow></value><value name=\"MS\"><shadow type=\"math_number\" id=\"?HW1bF6@8?q2~{{ohhv|\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">100</field></shadow></value><next><block type=\"time_sleep_millisecond\" id=\"-q4-.Q%z}$8bO:A@qa}#\"><value name=\"MS\"><shadow type=\"math_number\" id=\"tzP,E_u-n%F}7u{XyC~}\"><mutation max=\"Infinity\" min=\"0\" precision=\"0\"></mutation><field name=\"NUM\">100</field></shadow></value><next><block type=\"rgb_set_rgb_color_all\" id=\"y|Au9uaAZpClMv@^~{1p\"><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"8/B{8$]9nW_5B`mM7$Ly\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#000000</field></block></value></block></next></block></next></block></next></block></next></block></statement><next><block type=\"variables_set\" id=\"zo%}GRBp!b8jL]U~@{:_\"><field name=\"VAR\" id=\"5Gwq?[qZ3@Jd/?+T;y~v\">new</field><value name=\"VALUE\"><block type=\"logic_boolean\" id=\"F2NHo$2%U4,qL@b1m:Mj\"><field name=\"BOOL\">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"variables_set\" id=\"cVYp$+CYxWRFp9*(V$]7\"><field name=\"VAR\" id=\"5Gwq?[qZ3@Jd/?+T;y~v\">new</field><value name=\"VALUE\"><block type=\"logic_boolean\" id=\"B9vPje*YoEvOBd0`x.Ie\"><field name=\"BOOL\">TRUE</field></block></value></block></statement></block></next></block></next></block></statement></block>","screen":[{"simulationName":"Built-in","type":"builtin","width":320,"height":239.99999999999997,"scale":0.63,"screenName":"","blockId":"","screenColorType":0,"rotation":1,"id":"builtin","createTime":1777256554587}],"logicWhenNum":0,"customList":[]} |