Files
mixly3/boards/default/micropython_esp32c2/examples/MixGo MINI/12-1-输入输出-实时时钟.mix
2024-07-23 21:49:42 +08:00

1 line
1.8 KiB
XML

<xml version="Mixly 2.0 rc4" board="Python ESP32-C2@MixGo MINI"><block type="onboard_RTC_set_datetime" id="MgV.Rn.5B5ff;xnV:@+g" inline="true" x="-1763" y="-898"><value name="year"><shadow type="math_number" id="FrP|g$-~5(v,19[4UL:n"><field name="NUM">2024</field></shadow></value><value name="month"><shadow type="math_number" id="XE0QQRjbV+3}I/~hSxgE"><field name="NUM">4</field></shadow></value><value name="day"><shadow type="math_number" id="c@^F7jYQ~!S,_lx9Fg{p"><field name="NUM">2</field></shadow></value><value name="hour"><shadow type="math_number" id="tBtQ#RTOtEK+dymI-G)H"><field name="NUM">21</field></shadow></value><value name="minute"><shadow type="math_number" id="m-3PqB}Ux-6)sRYgU@$8"><field name="NUM">04</field></shadow></value><value name="second"><shadow type="math_number" id="H_|Q=K/Eoo}injEJy37;"><field name="NUM">45</field></shadow></value><next><block type="controls_whileUntil" id="t6F0Ce8y`hYIi*{u2QIs"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="QzI:0.X7k4Yy+kPaVE0W"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="system_print" id="@VLQZ$H{3d^o8WJ$(N.`"><value name="VAR"><shadow type="text" id="O~@I.7TO{m2{4POxrT-w"><field name="TEXT">Mixly</field></shadow><block type="onboard_RTC_get_time" id="1oBbBJ;ohllcwWYFp]|:"></block></value><next><block type="controls_delay_new" id="5{RgVe;Nl[#P_5_[-19a"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="CQLIoVuPLlg?aIG6S#^F"><field name="NUM">1</field></shadow></value></block></next></block></statement></block></next></block></xml><config>{}</config><code>aW1wb3J0IG50cHRpbWUKaW1wb3J0IG1hY2hpbmUKaW1wb3J0IHRpbWUKCgpudHB0aW1lLnNldHRpbWUoKDIwMjQsNCwyLDIxLDA0LDQ1LDAsMCkpCndoaWxlIFRydWU6CiAgICBwcmludCh0aW1lLmxvY2FsdGltZSgpKQogICAgdGltZS5zbGVlcCgxKQo=</code>