Files
mixly3/boards/default/micropython_esp32c5/examples/MixGo Sowl/学期3/1-2-2 晨钟暮鼓-可设定实时时钟.mix

1 line
4.1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<xml version="Mixly 3.0 rc0" board="Python ESP32-C5@元控自立SOWL" shown="block"><block type="variables_set" id="z{/SSs]9,Rx9y+jn2==E" x="-2535" y="-935"><field name="VAR">settime</field><value name="VALUE"><block type="system_input" id="]N:i?OCxY{O(OgTsSn+7"><value name="VAR"><shadow type="text" id="nK3t@#6*,Sr#i1UB;R$r"><field name="TEXT">请输入当时时间格式如下2023,1,1,12,0,0</field></shadow></value></block></value><next><block type="onboard_RTC_settime_string" id="u|^*)}XVt|54ZDJuMM,]"><value name="CONTENT"><shadow type="text" id="(F*.ZkuL`)N)R;L-J)dA"><field name="TEXT">2023,1,1,12,0,0</field></shadow><block type="variables_get" id="Mn`P^hT{;G5Pfh|*;c@!"><field name="VAR">settime</field></block></value><next><block type="controls_whileUntil" id="O2oo+8/ABb9E)7;~b}i?"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="M2EMBix*~HAQJeH=[1`]"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="M_UFK[rI*oqx=D9H(/+I"><field name="VAR">mytup</field><value name="VALUE"><block type="onboard_RTC_get_time" id=":Z)Rq1qnuZr!`l2#uYAi"></block></value><next><block type="display_show_image_or_string_delay" id="+@;^7aiKVB3`D9cAV]L="><field name="center">True</field><value name="data"><shadow type="text" id="2Wxny^={h9`lN)r?[{;a"><field name="TEXT">Mixly</field></shadow><block type="text_format_noreturn" id="quVS(b62z=T}kUl(5{kx" inline="false"><mutation items="3"></mutation><value name="VAR"><shadow type="text" id="i.f3g+a)SHmHuim/Yryi"><field name="TEXT">{}:{}:{}</field></shadow></value><value name="ADD0"><block type="number_to_text" id="6v8{,r1KsSLz4NmV2XWC"><value name="VAR"><shadow type="variables_get" id="H1NN;q$C-Aj7:^pXID?I"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id=":iT^l_Z9Tii#*YGW@]3i"><value name="TUP"><shadow type="variables_get" id="04Kx51m1EpoDE`Q7aB-m"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="}Jxa_NaDt:ie|BCj3cVr"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="ADD1"><block type="number_to_text" id="J25cNd_FAWGmM]#998Av"><value name="VAR"><shadow type="variables_get" id="m5MA{Zm}Fxis.SEg8ww|"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="g$n@M_rW$UCbw3)jK{xS"><value name="TUP"><shadow type="variables_get" id="Ud))OlvHT$Urg29De{LI"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="ab|BW)ueqd6x_M}Lsd1$"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="ADD2"><block type="number_to_text" id="tK)Uo!jk|,vgf`xr8zEN"><value name="VAR"><shadow type="variables_get" id="+CS?J}_)+,h2W_x#H:j("><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="pS=Q*k)hbw5?SPk0}sbK"><value name="TUP"><shadow type="variables_get" id="H`$KHohFbTH6jR?)@3rx"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id=":?/P*Y=_Q{..S6}7~X?j"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value><value name="space"><shadow type="math_number" id="q|F!-$Q]wd@.cJyZkZz4"><field name="NUM">0</field></shadow></value><value name="boolean"><shadow type="logic_boolean" id=";#}~{8j6g;0._{IX77og"><field name="BOOL">TRUE</field></shadow></value><next><block type="controls_delay_new" id="Xn|Gj:u@/N|6{0_V8$Ok"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="5Hb0:R#aD?=S+.h.F*/1"><field name="NUM">1</field></shadow></value></block></next></block></next></block></statement></block></next></block></next></block></xml><config>{}</config><code>aW1wb3J0IG1hY2hpbmUKaW1wb3J0IHJ0Y3RpbWUKaW1wb3J0IHRpbWUKZnJvbSBtaXhnb19zYW50IGltcG9ydCBvbmJvYXJkX3RmdAoKc2V0dGltZSA9IGlucHV0KCfor7fovpPlhaXlvZPml7bml7bpl7TvvIzmoLzlvI/lpoLkuIvvvIgyMDIzLDEsMSwxMiwwLDDvvInvvJonKQpydGN0aW1lLnNldHRpbWUoc2V0dGltZSkKd2hpbGUgVHJ1ZToKICAgIG15dHVwID0gdGltZS5sb2NhbHRpbWUoKQogICAgb25ib2FyZF90ZnQuc2hvd3MoJ3t9Ont9Ont9Jy5mb3JtYXQoc3RyKG15dHVwWzNdKSwgc3RyKG15dHVwWzRdKSwgc3RyKG15dHVwWzVdKSksIHNwYWNlPTAsIGNlbnRlcj1UcnVlLHN5bmM9VHJ1ZSkKICAgIHRpbWUuc2xlZXAoMSkK</code>