fix rtc error

This commit is contained in:
fredqian
2025-08-11 08:39:55 +08:00
parent 6a35dab4cc
commit 259732ddff
15 changed files with 15 additions and 15 deletions

View File

@@ -1 +1 @@
<xml version="Mixly 2.0 rc4" board="Python ESP32-C3@MixGo CC"><block type="onboard_RTC_set_datetime" id="f9s[S#NssXs)TC:,e(TA" inline="true" x="-1886" y="-925"><value name="year"><shadow type="math_number" id="q^]bCJ^@hlrV3H=}1|(S"><field name="NUM">2024</field></shadow></value><value name="month"><shadow type="math_number" id="0vmhjt]vph`+a(Uz?hto"><field name="NUM">4</field></shadow></value><value name="day"><shadow type="math_number" id="I8E9H5_e4YmJObs0?(~o"><field name="NUM">2</field></shadow></value><value name="hour"><shadow type="math_number" id="lxgNbL0]*n?N*fP+8wR~"><field name="NUM">21</field></shadow></value><value name="minute"><shadow type="math_number" id="ZK4d$$@TEFoVnjB.3/y]"><field name="NUM">04</field></shadow></value><value name="second"><shadow type="math_number" id="MK$LZ^BCST)wlx[VY7x-"><field name="NUM">45</field></shadow></value><next><block type="controls_whileUntil" id="|~WtI`|@azL`)X,U_mo`"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="z|46b]bN=Rs9^VybX]52"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="system_print" id="dtDz|$8)`jh_{7m;CiV,"><value name="VAR"><shadow type="text" id="dlT9;Re7~yg)Qyw9vOi-"><field name="TEXT">Mixly</field></shadow><block type="onboard_RTC_get_time" id="CP@cb`gS84n!Y}.QCr,4"></block></value><next><block type="controls_delay_new" id="[RDZ@~v4`3|Kg3bl0tsL"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="S)[[;{N0+]_jH2J2yFJk"><field name="NUM">1</field></shadow></value></block></next></block></statement></block></next></block></xml><config>{}</config><code>aW1wb3J0IG50cHRpbWUKaW1wb3J0IG1hY2hpbmUKaW1wb3J0IHRpbWUKCgpudHB0aW1lLnNldHRpbWUoKDIwMjQsNCwyLDIxLDA0LDQ1LDAsMCkpCndoaWxlIFRydWU6CiAgICBwcmludCh0aW1lLmxvY2FsdGltZSgpKQogICAgdGltZS5zbGVlcCgxKQo=</code>
<xml version="Mixly 2.0 rc4" board="Python ESP32-C3@MixGo CC"><block type="onboard_RTC_set_datetime" id="f9s[S#NssXs)TC:,e(TA" inline="true" x="-1886" y="-925"><value name="year"><shadow type="math_number" id="q^]bCJ^@hlrV3H=}1|(S"><field name="NUM">2024</field></shadow></value><value name="month"><shadow type="math_number" id="0vmhjt]vph`+a(Uz?hto"><field name="NUM">4</field></shadow></value><value name="day"><shadow type="math_number" id="I8E9H5_e4YmJObs0?(~o"><field name="NUM">2</field></shadow></value><value name="hour"><shadow type="math_number" id="lxgNbL0]*n?N*fP+8wR~"><field name="NUM">21</field></shadow></value><value name="minute"><shadow type="math_number" id="ZK4d$$@TEFoVnjB.3/y]"><field name="NUM">4</field></shadow></value><value name="second"><shadow type="math_number" id="MK$LZ^BCST)wlx[VY7x-"><field name="NUM">45</field></shadow></value><next><block type="controls_whileUntil" id="|~WtI`|@azL`)X,U_mo`"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="z|46b]bN=Rs9^VybX]52"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="system_print" id="dtDz|$8)`jh_{7m;CiV,"><value name="VAR"><shadow type="text" id="dlT9;Re7~yg)Qyw9vOi-"><field name="TEXT">Mixly</field></shadow><block type="onboard_RTC_get_time" id="CP@cb`gS84n!Y}.QCr,4"></block></value><next><block type="controls_delay_new" id="[RDZ@~v4`3|Kg3bl0tsL"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="S)[[;{N0+]_jH2J2yFJk"><field name="NUM">1</field></shadow></value></block></next></block></statement></block></next></block></xml><config>{}</config><code>aW1wb3J0IG50cHRpbWUKaW1wb3J0IG1hY2hpbmUKaW1wb3J0IHRpbWUKCgpudHB0aW1lLnNldHRpbWUoKDIwMjQsNCwyLDIxLDA0LDQ1LDAsMCkpCndoaWxlIFRydWU6CiAgICBwcmludCh0aW1lLmxvY2FsdGltZSgpKQogICAgdGltZS5zbGVlcCgxKQo=</code>

View File

@@ -1 +1 @@
<xml version="Mixly 2.0 rc4" board="Python ESP32-C3@MixGo CC"><block type="onboard_RTC_set_datetime" id="#XW-APUz$VcC4k1Dd-X2" inline="true" x="-2187" y="-818"><value name="year"><shadow type="math_number" id="bLT,INjKUyE!R26DsJW~"><field name="NUM">2024</field></shadow></value><value name="month"><shadow type="math_number" id=";ehfs6J*c+X4hR,a!T6c"><field name="NUM">4</field></shadow></value><value name="day"><shadow type="math_number" id="?!ZfZ|P.!|O3s^0UV3=]"><field name="NUM">2</field></shadow></value><value name="hour"><shadow type="math_number" id=")UoUAO+GAfOy/_)Bt86{"><field name="NUM">21</field></shadow></value><value name="minute"><shadow type="math_number" id="c|r`PFK#p)@/-;sF:VnK"><field name="NUM">04</field></shadow></value><value name="second"><shadow type="math_number" id="BrCgxWCNhZ8,tP6yYndh"><field name="NUM">45</field></shadow></value><next><block type="controls_whileUntil" id=",o1;7*2L_uLEp-B(kL!D"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="fah~Y*e].F)3{2-4mvBt"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="d(x;c6v{a8O]!Y6t#yU9"><field name="VAR">mytup</field><value name="VALUE"><block type="onboard_RTC_get_time" id="vfKqDS5(}8m9Y1Uk?2_O"></block></value><next><block type="display_scroll_string" id="ke2R*8LG]|+.OEzBr-9Y"><value name="data"><shadow type="text" id="9s66BJO!ZEpYN`QjW_@p"><field name="TEXT">Mixly</field></shadow><block type="text_format_noreturn" id="~]oWp9Obo82zPIb4))mx" inline="false"><mutation items="3"></mutation><value name="VAR"><shadow type="text" id="Am}vPhfhvi(E7Z}g:*gM"><field name="TEXT">{}:{}:{}</field></shadow></value><value name="ADD0"><block type="number_to_text" id="s:O3u)}Q{-k6FBOgPF3`"><value name="VAR"><shadow type="variables_get" id="DoVfu=)M{(?u~cH+.D9|"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="])j3Y@l4js6IIyB77Y?m"><value name="TUP"><shadow type="variables_get" id="1kFDBg2X/}Y$`L(l#Cmf"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="jooQ#oh#2F7LF@d?)t$|"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="ADD1"><block type="number_to_text" id="Q`KC~p8f0m*rjBUwwNk3"><value name="VAR"><shadow type="variables_get" id="vinCgZ_-(=aZ{*fv!7X]"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="+nN@IUg6fzZM4}.$t-B5"><value name="TUP"><shadow type="variables_get" id="n@tx|cxVE2N{-O]2dwz2"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="z2SYhu@,]dJX/ONpVjN("><field name="NUM">4</field></shadow></value></block></value></block></value><value name="ADD2"><block type="number_to_text" id="2(nk{0wk;k3w2k9Qxx9|"><value name="VAR"><shadow type="variables_get" id="wPaeL{.yyB2Z|Pu;WOGa"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="yD=ib^hh~$W?#fZaG:tJ"><value name="TUP"><shadow type="variables_get" id="gp:n+]rz24@`).##apDt"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="Yj;r[yRt.t5k[Hf5c752"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value><next><block type="controls_delay_new" id="l1}$dy?1nSaZQf*.X/I="><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="hR/iK?fC@{Fv4:=bdy9]"><field name="NUM">0.5</field></shadow></value></block></next></block></next></block></statement></block></next></block></xml><config>{}</config><code>aW1wb3J0IG50cHRpbWUKaW1wb3J0IHRpbWUKZnJvbSBtaXhnb19jYyBpbXBvcnQgb25ib2FyZF9tYXRyaXgKCgpudHB0aW1lLnNldHRpbWUoKDIwMjQsNCwyLDIxLDA0LDQ1LDAsMCkpCndoaWxlIFRydWU6CiAgICBteXR1cCA9IHRpbWUubG9jYWx0aW1lKCkKICAgIG9uYm9hcmRfbWF0cml4LnNjcm9sbCgne306e306e30nLmZvcm1hdChzdHIobXl0dXBbM10pLCBzdHIobXl0dXBbNF0pLCBzdHIobXl0dXBbNV0pKSkKICAgIHRpbWUuc2xlZXAoMC41KQo=</code>
<xml version="Mixly 2.0 rc4" board="Python ESP32-C3@MixGo CC"><block type="onboard_RTC_set_datetime" id="#XW-APUz$VcC4k1Dd-X2" inline="true" x="-2187" y="-818"><value name="year"><shadow type="math_number" id="bLT,INjKUyE!R26DsJW~"><field name="NUM">2024</field></shadow></value><value name="month"><shadow type="math_number" id=";ehfs6J*c+X4hR,a!T6c"><field name="NUM">4</field></shadow></value><value name="day"><shadow type="math_number" id="?!ZfZ|P.!|O3s^0UV3=]"><field name="NUM">2</field></shadow></value><value name="hour"><shadow type="math_number" id=")UoUAO+GAfOy/_)Bt86{"><field name="NUM">21</field></shadow></value><value name="minute"><shadow type="math_number" id="c|r`PFK#p)@/-;sF:VnK"><field name="NUM">4</field></shadow></value><value name="second"><shadow type="math_number" id="BrCgxWCNhZ8,tP6yYndh"><field name="NUM">45</field></shadow></value><next><block type="controls_whileUntil" id=",o1;7*2L_uLEp-B(kL!D"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="fah~Y*e].F)3{2-4mvBt"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="d(x;c6v{a8O]!Y6t#yU9"><field name="VAR">mytup</field><value name="VALUE"><block type="onboard_RTC_get_time" id="vfKqDS5(}8m9Y1Uk?2_O"></block></value><next><block type="display_scroll_string" id="ke2R*8LG]|+.OEzBr-9Y"><value name="data"><shadow type="text" id="9s66BJO!ZEpYN`QjW_@p"><field name="TEXT">Mixly</field></shadow><block type="text_format_noreturn" id="~]oWp9Obo82zPIb4))mx" inline="false"><mutation items="3"></mutation><value name="VAR"><shadow type="text" id="Am}vPhfhvi(E7Z}g:*gM"><field name="TEXT">{}:{}:{}</field></shadow></value><value name="ADD0"><block type="number_to_text" id="s:O3u)}Q{-k6FBOgPF3`"><value name="VAR"><shadow type="variables_get" id="DoVfu=)M{(?u~cH+.D9|"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="])j3Y@l4js6IIyB77Y?m"><value name="TUP"><shadow type="variables_get" id="1kFDBg2X/}Y$`L(l#Cmf"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="jooQ#oh#2F7LF@d?)t$|"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="ADD1"><block type="number_to_text" id="Q`KC~p8f0m*rjBUwwNk3"><value name="VAR"><shadow type="variables_get" id="vinCgZ_-(=aZ{*fv!7X]"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="+nN@IUg6fzZM4}.$t-B5"><value name="TUP"><shadow type="variables_get" id="n@tx|cxVE2N{-O]2dwz2"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="z2SYhu@,]dJX/ONpVjN("><field name="NUM">4</field></shadow></value></block></value></block></value><value name="ADD2"><block type="number_to_text" id="2(nk{0wk;k3w2k9Qxx9|"><value name="VAR"><shadow type="variables_get" id="wPaeL{.yyB2Z|Pu;WOGa"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="yD=ib^hh~$W?#fZaG:tJ"><value name="TUP"><shadow type="variables_get" id="gp:n+]rz24@`).##apDt"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="Yj;r[yRt.t5k[Hf5c752"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value><next><block type="controls_delay_new" id="l1}$dy?1nSaZQf*.X/I="><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="hR/iK?fC@{Fv4:=bdy9]"><field name="NUM">0.5</field></shadow></value></block></next></block></next></block></statement></block></next></block></xml><config>{}</config><code>aW1wb3J0IG50cHRpbWUKaW1wb3J0IHRpbWUKZnJvbSBtaXhnb19jYyBpbXBvcnQgb25ib2FyZF9tYXRyaXgKCgpudHB0aW1lLnNldHRpbWUoKDIwMjQsNCwyLDIxLDA0LDQ1LDAsMCkpCndoaWxlIFRydWU6CiAgICBteXR1cCA9IHRpbWUubG9jYWx0aW1lKCkKICAgIG9uYm9hcmRfbWF0cml4LnNjcm9sbCgne306e306e30nLmZvcm1hdChzdHIobXl0dXBbM10pLCBzdHIobXl0dXBbNF0pLCBzdHIobXl0dXBbNV0pKSkKICAgIHRpbWUuc2xlZXAoMC41KQo=</code>