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 ME"><block type="onboard_RTC_set_datetime" id="7+^-1-m]]tT8]~g+?6?H" inline="true" x="-1763" y="-898"><value name="year"><shadow type="math_number" id="zs/W9ayw-?u8Bzd3y}6Y"><field name="NUM">2024</field></shadow></value><value name="month"><shadow type="math_number" id="g,-llCEcz*yf9e3`BzYQ"><field name="NUM">4</field></shadow></value><value name="day"><shadow type="math_number" id="sEaVe:j-)32SC{:88:;k"><field name="NUM">2</field></shadow></value><value name="hour"><shadow type="math_number" id="AD}1r2EH/(/;a.Bl?0.D"><field name="NUM">21</field></shadow></value><value name="minute"><shadow type="math_number" id="ew?^t.`;$9YG9`f*eL~b"><field name="NUM">04</field></shadow></value><value name="second"><shadow type="math_number" id="9XnzRD#o6zhSKd1XVp=/"><field name="NUM">45</field></shadow></value><next><block type="controls_whileUntil" id="av99e-We~6|SKI-EDD=6"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="GAdJSR/fv,dft|n~RYV|"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="system_print" id="UEK9?cVVEy6Y8,d7yu{4"><value name="VAR"><shadow type="text" id="AvU0glun`_m#$k~HbsqZ"><field name="TEXT">Mixly</field></shadow><block type="onboard_RTC_get_time" id=".Zd/lQG|uQMUxoW+ID)4"></block></value><next><block type="controls_delay_new" id="W6)D`uqNTw](?~n2},:z"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="RI`b^ogrr8y/A;c2XVlK"><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 ME"><block type="onboard_RTC_set_datetime" id="7+^-1-m]]tT8]~g+?6?H" inline="true" x="-1763" y="-898"><value name="year"><shadow type="math_number" id="zs/W9ayw-?u8Bzd3y}6Y"><field name="NUM">2024</field></shadow></value><value name="month"><shadow type="math_number" id="g,-llCEcz*yf9e3`BzYQ"><field name="NUM">4</field></shadow></value><value name="day"><shadow type="math_number" id="sEaVe:j-)32SC{:88:;k"><field name="NUM">2</field></shadow></value><value name="hour"><shadow type="math_number" id="AD}1r2EH/(/;a.Bl?0.D"><field name="NUM">21</field></shadow></value><value name="minute"><shadow type="math_number" id="ew?^t.`;$9YG9`f*eL~b"><field name="NUM">4</field></shadow></value><value name="second"><shadow type="math_number" id="9XnzRD#o6zhSKd1XVp=/"><field name="NUM">45</field></shadow></value><next><block type="controls_whileUntil" id="av99e-We~6|SKI-EDD=6"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="GAdJSR/fv,dft|n~RYV|"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="system_print" id="UEK9?cVVEy6Y8,d7yu{4"><value name="VAR"><shadow type="text" id="AvU0glun`_m#$k~HbsqZ"><field name="TEXT">Mixly</field></shadow><block type="onboard_RTC_get_time" id=".Zd/lQG|uQMUxoW+ID)4"></block></value><next><block type="controls_delay_new" id="W6)D`uqNTw](?~n2},:z"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="RI`b^ogrr8y/A;c2XVlK"><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 ME"><block type="onboard_RTC_set_datetime" id="3+jA|ZG8uQwGI#NTM,|b" inline="true" x="-2187" y="-818"><value name="year"><shadow type="math_number" id="j2KrzZA_OsG]cua^}hhM"><field name="NUM">2024</field></shadow></value><value name="month"><shadow type="math_number" id="-y!;+Ia3G]Mwp-q2``3C"><field name="NUM">4</field></shadow></value><value name="day"><shadow type="math_number" id="(YN+Wk^jA7rzI5MfbtAj"><field name="NUM">2</field></shadow></value><value name="hour"><shadow type="math_number" id="7PW$-J7:JLWtDd!insBP"><field name="NUM">21</field></shadow></value><value name="minute"><shadow type="math_number" id="+WelUC:Y5s?p+q@cR~|e"><field name="NUM">04</field></shadow></value><value name="second"><shadow type="math_number" id=")CO1?^k+)1B5*RHf9o]}"><field name="NUM">45</field></shadow></value><next><block type="controls_whileUntil" id="O`0FLf4N?MI:z`.__s,K"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="]y;LnHG8]4a#Cv+ZnB$V"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="Ynby:-7-a1e^$zY=Yt}C"><field name="VAR">mytup</field><value name="VALUE"><block type="onboard_RTC_get_time" id="]r/)dM.;j/WxB|]?GCmJ"></block></value><next><block type="display_scroll_string" id="}KClzm8rj8#)WTpSsnW@"><value name="data"><shadow type="text" id="UuESq]SmkXwhw/7b_E2a"><field name="TEXT">Mixly</field></shadow><block type="text_format_noreturn" id="wHn9PO0=Eh!o+vxlonL}" inline="false"><mutation items="3"></mutation><value name="VAR"><shadow type="text" id="Bw(nUZDZAJd7W2A^Duh8"><field name="TEXT">{}:{}:{}</field></shadow></value><value name="ADD0"><block type="number_to_text" id="TYowaCD/^6}yPVyQl;4x"><value name="VAR"><shadow type="variables_get" id="{2FiXu!DX;}EidK8HjiY"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="lOeu1fe)0VgR0uUd$wsC"><value name="TUP"><shadow type="variables_get" id="3Rglns#hHzvwJ!({^x#j"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="N{n~m80F]k6;7|/SKXn;"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="ADD1"><block type="number_to_text" id="CNb2vsDtd9g`e4T*dp!f"><value name="VAR"><shadow type="variables_get" id="fB*f?MU#AAO:|;;GOprO"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="VJY3(/:=,[~m)A~!{S,~"><value name="TUP"><shadow type="variables_get" id=",EjLS{p9h2j*?im$5gCJ"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="d=W*/oLW8XeI+Bhpb[B}"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="ADD2"><block type="number_to_text" id="5k1dEP:qtAXxMfr-h8Ch"><value name="VAR"><shadow type="variables_get" id="P.t~h)BNt)[bqo}x!6B4"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="BJul)idqpRH7!C`fip$S"><value name="TUP"><shadow type="variables_get" id="sX.Is-b{.5II1AUYLiV}"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="rIBwsRV(k*afVp9~tHHj"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value><next><block type="controls_delay_new" id="{?C0B[_p474,J;hF}X+y"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="ss*lG`l9uWns02b;_zSp"><field name="NUM">0.5</field></shadow></value></block></next></block></next></block></statement></block></next></block></xml><config>{}</config><code>aW1wb3J0IG50cHRpbWUKaW1wb3J0IHRpbWUKZnJvbSBtaXhnb19tZSBpbXBvcnQgb25ib2FyZF9tYXRyaXgKCgpudHB0aW1lLnNldHRpbWUoKDIwMjQsNCwyLDIxLDA0LDQ1LDAsMCkpCndoaWxlIFRydWU6CiAgICBteXR1cCA9IHRpbWUubG9jYWx0aW1lKCkKICAgIG9uYm9hcmRfbWF0cml4LnNjcm9sbCgne306e306e30nLmZvcm1hdChzdHIobXl0dXBbM10pLCBzdHIobXl0dXBbNF0pLCBzdHIobXl0dXBbNV0pKSkKICAgIHRpbWUuc2xlZXAoMC41KQo=</code>
<xml version="Mixly 2.0 rc4" board="Python ESP32-C3@MixGo ME"><block type="onboard_RTC_set_datetime" id="3+jA|ZG8uQwGI#NTM,|b" inline="true" x="-2187" y="-818"><value name="year"><shadow type="math_number" id="j2KrzZA_OsG]cua^}hhM"><field name="NUM">2024</field></shadow></value><value name="month"><shadow type="math_number" id="-y!;+Ia3G]Mwp-q2``3C"><field name="NUM">4</field></shadow></value><value name="day"><shadow type="math_number" id="(YN+Wk^jA7rzI5MfbtAj"><field name="NUM">2</field></shadow></value><value name="hour"><shadow type="math_number" id="7PW$-J7:JLWtDd!insBP"><field name="NUM">21</field></shadow></value><value name="minute"><shadow type="math_number" id="+WelUC:Y5s?p+q@cR~|e"><field name="NUM">4</field></shadow></value><value name="second"><shadow type="math_number" id=")CO1?^k+)1B5*RHf9o]}"><field name="NUM">45</field></shadow></value><next><block type="controls_whileUntil" id="O`0FLf4N?MI:z`.__s,K"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="]y;LnHG8]4a#Cv+ZnB$V"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="Ynby:-7-a1e^$zY=Yt}C"><field name="VAR">mytup</field><value name="VALUE"><block type="onboard_RTC_get_time" id="]r/)dM.;j/WxB|]?GCmJ"></block></value><next><block type="display_scroll_string" id="}KClzm8rj8#)WTpSsnW@"><value name="data"><shadow type="text" id="UuESq]SmkXwhw/7b_E2a"><field name="TEXT">Mixly</field></shadow><block type="text_format_noreturn" id="wHn9PO0=Eh!o+vxlonL}" inline="false"><mutation items="3"></mutation><value name="VAR"><shadow type="text" id="Bw(nUZDZAJd7W2A^Duh8"><field name="TEXT">{}:{}:{}</field></shadow></value><value name="ADD0"><block type="number_to_text" id="TYowaCD/^6}yPVyQl;4x"><value name="VAR"><shadow type="variables_get" id="{2FiXu!DX;}EidK8HjiY"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="lOeu1fe)0VgR0uUd$wsC"><value name="TUP"><shadow type="variables_get" id="3Rglns#hHzvwJ!({^x#j"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="N{n~m80F]k6;7|/SKXn;"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="ADD1"><block type="number_to_text" id="CNb2vsDtd9g`e4T*dp!f"><value name="VAR"><shadow type="variables_get" id="fB*f?MU#AAO:|;;GOprO"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="VJY3(/:=,[~m)A~!{S,~"><value name="TUP"><shadow type="variables_get" id=",EjLS{p9h2j*?im$5gCJ"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="d=W*/oLW8XeI+Bhpb[B}"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="ADD2"><block type="number_to_text" id="5k1dEP:qtAXxMfr-h8Ch"><value name="VAR"><shadow type="variables_get" id="P.t~h)BNt)[bqo}x!6B4"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="BJul)idqpRH7!C`fip$S"><value name="TUP"><shadow type="variables_get" id="sX.Is-b{.5II1AUYLiV}"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="rIBwsRV(k*afVp9~tHHj"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value><next><block type="controls_delay_new" id="{?C0B[_p474,J;hF}X+y"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="ss*lG`l9uWns02b;_zSp"><field name="NUM">0.5</field></shadow></value></block></next></block></next></block></statement></block></next></block></xml><config>{}</config><code>aW1wb3J0IG50cHRpbWUKaW1wb3J0IHRpbWUKZnJvbSBtaXhnb19tZSBpbXBvcnQgb25ib2FyZF9tYXRyaXgKCgpudHB0aW1lLnNldHRpbWUoKDIwMjQsNCwyLDIxLDA0LDQ1LDAsMCkpCndoaWxlIFRydWU6CiAgICBteXR1cCA9IHRpbWUubG9jYWx0aW1lKCkKICAgIG9uYm9hcmRfbWF0cml4LnNjcm9sbCgne306e306e30nLmZvcm1hdChzdHIobXl0dXBbM10pLCBzdHIobXl0dXBbNF0pLCBzdHIobXl0dXBbNV0pKSkKICAgIHRpbWUuc2xlZXAoMC41KQo=</code>