fix buzzer

This commit is contained in:
fredqian
2024-07-23 20:47:22 +08:00
parent 37f53a66e3
commit 43caecbae6
1189 changed files with 1948 additions and 1946 deletions

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="iot_wifi_connect" id="~,Yg$z.[il8*EF#Q!;kX" x="-23" y="1"><value name="WIFINAME"><shadow type="text" id="Fxf?wc^0rx2mg31jO,M`"><field name="TEXT">hwq</field></shadow></value><value name="PASSWORD"><shadow type="text" id="(bbrtF`77yA-Iv8gO/$D"><field name="TEXT">hwq458362228</field></shadow></value><next><block type="iot_onenet_connect" id="BcXHYPdij_2jgC]GosAk"><value name="VAR"><shadow type="variables_get" id="nBt7qaQ%|d7${nUJ)VvC"><field name="VAR">c</field></shadow></value><value name="CLIENT"><shadow type="text" id="J$WN*b+Nt{PuHUHbZUcu"><field name="TEXT">559094459</field></shadow></value><value name="SERVER"><shadow type="text" id=";n=tcgrD#HCQ=L.f7+B}"><field name="TEXT">183.230.40.39</field></shadow></value><value name="USERNAME"><shadow type="text" id="xcgf:+U,|=KEx~)6qbUb"><field name="TEXT">182071</field></shadow></value><value name="PASSWORD"><shadow type="text" id="(Jm46p#RUeG!qH?Cj7$`"><field name="TEXT">mHMdGuxuyBCfnWhYtQNBwf3uhWs=</field></shadow></value><value name="TOPIC"><shadow type="text" id="alD9LKG)~wNK0@?;AR/_"><field name="TEXT">MixlyRobot</field></shadow></value><value name="SUB"><shadow type="factory_block_return" id="v5wOtVJvZZfo7g,RN!P#"><field name="VALUE">sub_cb</field></shadow></value><next><block type="controls_whileUntil" id="Wa6T8$V6#;{1Y(*SxYv}"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="7YYzLF,tvxhBfQETW2m["><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_delay" id="nwX_UhN7}a[(Ip/T~cA$"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="M)t^D2=KCNDt11q-*0I{"><field name="NUM">1000</field></shadow></value><next><block type="iot_onenet_check" id="DH^8;o0K$!C7q50O?TnE"><value name="VAR"><shadow type="variables_get" id="FSQWGb;^@x`Q{j=3{0w?"><field name="VAR">c</field></shadow></value></block></next></block></statement></block></next></block></next></block><block type="procedures_defnoreturn" id="KK1=?_mOnlk7~C[=QeD(" x="549" y="1"><mutation xmlns="http://www.w3.org/1999/xhtml"><arg name="topic"></arg><arg name="msg"></arg></mutation><field name="NAME">sub_cb</field><statement name="STACK"><block type="display_clear" id="}FhTq5Unepn]1*v#%lpq"><next><block type="variables_set" id="-(W=A}x5VJQxqEuD1%^F"><field name="VAR">msg</field><value name="VALUE"><block type="text_to_number" id="N~[vK$fYzoXQ4T8R{sQ#"><field name="TOWHAT">int</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~b%3TqgRLv}rNP{7Ia{c"><field name="TEXT">on</field></shadow><block type="variables_get" id="Fr-6z09O+:a%FJa^gdDQ"><field name="VAR">msg</field></block></value></block></value><next><block type="display_bright_point" id="`F@vu!HVl:@/6d0H~AhK"><value name="x"><shadow xmlns="http://www.w3.org/1999/xhtml" type="pins_exlcdh" id="s|Sd0ByYIK60O9(6k4z9"><field name="PIN">0</field></shadow><block type="variables_get" id="Hl|n~XV!YenvfH^+g$kp"><field name="VAR">msg</field></block></value><value name="y"><shadow type="pins_exlcdv" id="lj8{`*Rh|J-vy*bJs!J+"><field name="PIN">0</field></shadow></value><value name="STAT"><shadow type="display_onoff" id="W*n3_CdCBzVCF/]YY`*d"><field name="ONOFF">ON</field></shadow></value></block></next></block></next></block></statement></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="iot_wifi_connect" id="~,Yg$z.[il8*EF#Q!;kX" x="-23" y="1"><value name="WIFINAME"><shadow type="text" id="Fxf?wc^0rx2mg31jO,M`"><field name="TEXT">hwq</field></shadow></value><value name="PASSWORD"><shadow type="text" id="(bbrtF`77yA-Iv8gO/$D"><field name="TEXT">hwq458362228</field></shadow></value><next><block type="iot_onenet_connect" id="BcXHYPdij_2jgC]GosAk"><value name="VAR"><shadow type="variables_get" id="nBt7qaQ%|d7${nUJ)VvC"><field name="VAR">c</field></shadow></value><value name="CLIENT"><shadow type="text" id="J$WN*b+Nt{PuHUHbZUcu"><field name="TEXT">559094459</field></shadow></value><value name="SERVER"><shadow type="text" id=";n=tcgrD#HCQ=L.f7+B}"><field name="TEXT">183.230.40.39</field></shadow></value><value name="USERNAME"><shadow type="text" id="xcgf:+U,|=KEx~)6qbUb"><field name="TEXT">182071</field></shadow></value><value name="PASSWORD"><shadow type="text" id="(Jm46p#RUeG!qH?Cj7$`"><field name="TEXT">mHMdGuxuyBCfnWhYtQNBwf3uhWs=</field></shadow></value><value name="TOPIC"><shadow type="text" id="alD9LKG)~wNK0@?;AR/_"><field name="TEXT">MixlyRobot</field></shadow></value><value name="SUB"><shadow type="factory_block_return" id="v5wOtVJvZZfo7g,RN!P#"><field name="VALUE">sub_cb</field></shadow></value><next><block type="controls_whileUntil" id="Wa6T8$V6#;{1Y(*SxYv}"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="7YYzLF,tvxhBfQETW2m["><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_delay" id="nwX_UhN7}a[(Ip/T~cA$"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="M)t^D2=KCNDt11q-*0I{"><field name="NUM">1000</field></shadow></value><next><block type="iot_onenet_check" id="DH^8;o0K$!C7q50O?TnE"><value name="VAR"><shadow type="variables_get" id="FSQWGb;^@x`Q{j=3{0w?"><field name="VAR">c</field></shadow></value></block></next></block></statement></block></next></block></next></block><block type="procedures_defnoreturn" id="KK1=?_mOnlk7~C[=QeD(" x="583" y="-4"><mutation xmlns="http://www.w3.org/1999/xhtml"><arg name="topic"></arg><arg name="msg"></arg></mutation><field name="NAME">sub_cb</field><statement name="STACK"><block type="controls_if" id="wk;oQS#dU-5*rpR0#YMh"><value name="IF0"><block type="logic_compare" id=",3C|U|29Prky2A%D{5!Z"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="Fr-6z09O+:a%FJa^gdDQ"><field name="VAR">msg</field></block></value><value name="B"><block type="text_to_number" id="N~[vK$fYzoXQ4T8R{sQ#"><field name="TOWHAT">b</field><value name="VAR"><shadow type="text" id="~b%3TqgRLv}rNP{7Ia{c"><field name="TEXT">on</field></shadow></value></block></value></block></value><statement name="DO0"><block type="actuator_led_bright" id=",ca)ErMx]@4_zX;fT+q-"><value name="led"><shadow type="number" id="A-M,6pLtk{VwsOCZ,~W0"><field name="op">1</field></shadow></value><value name="bright"><shadow type="ledswitch" id="V2pu{;JZv@Cw+|U5Zw#a"><field name="flag">1</field></shadow></value></block></statement><next><block type="controls_if" id=".cLHq[Xr5[yg:u:D[WyT"><value name="IF0"><block type="logic_compare" id="pZXvDL3lN8_TWX_aGJR1"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="uR5Z^0ZE7TgoiO_=Z#Yq"><field name="VAR">msg</field></block></value><value name="B"><block type="text_to_number" id="D/ux7Yssj:P|=1*N44`2"><field name="TOWHAT">b</field><value name="VAR"><shadow type="text" id="5p|]4:$O2]PYvng!AQ[Q"><field name="TEXT">off</field></shadow></value></block></value></block></value><statement name="DO0"><block type="actuator_led_bright" id=".flTCKA-IP5@FNyX[;)n"><value name="led"><shadow type="number" id="?N.HTJ%UybP^(A+;BsQb"><field name="op">1</field></shadow></value><value name="bright"><shadow type="ledswitch" id="D_CoMAX%W!a!~H0wRaD?"><field name="flag">0</field></shadow></value></block></statement></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="controls_whileUntil" id="IR+@u|5n=cbO@A^$sgr@" x="125" y="66"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="/;w2YI,h38}1(q4k5oG@"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="display_scroll_string" id="YcCC9oqi#9u~su__6R-S"><value name="data"><shadow type="text" id=",H)`q)D.TNlqii/k/;;5"><field name="TEXT">Hello Mixly!</field></shadow></value><next><block type="controls_delay" id="vuQAZNY[%Utd5Dh^_[=3"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="y5#;n))-mbH7;7yjhZPj"><field name="NUM">1000</field></shadow></value><next><block type="display_scroll_string" id="Xg*4]IPR?KugJx*dwfGN"><value name="data"><shadow type="text" id=")NkoOTM}YF_d$mfCs(X#"><field name="TEXT">Let's start programming!</field></shadow></value><next><block type="controls_delay" id="|d38B^zx!r=D-%{Sf_UM"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="ey.QqbcdsiGZ9SIpxn]#"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></statement></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="controls_whileUntil" id="bm;OaSPg`YA34.c1G4QW" x="-39" y="183"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="[[5U.@-JTAgIF}CIyJyT"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_if" id="CKldSnnnHY^C^4_82/~l"><value name="IF0"><block type="sensor_button_was_pressed" id="C}}BRlqUFr+yg%;2.sEK"><value name="btn"><shadow type="pins_button" id=".%2-}]IDqB/A?~~gUl3T"><field name="PIN">button_a</field></shadow></value></block></value><statement name="DO0"><block type="controls_forEach" id="**}i@IE/}dx1);[(zk+("><value name="LIST"><shadow xmlns="http://www.w3.org/1999/xhtml" type="list_many_input"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="X1mE1ZE;*|%a{1PDh_r("><value name="FROM"><shadow type="math_number" id="1J?)^H}*n10OSg~cqleW"><field name="NUM">2000</field></shadow></value><value name="TO"><shadow type="math_number" id="d/J9^_:40ju1cUR{q0ow"><field name="NUM">8000</field></shadow></value><value name="STEP"><shadow type="math_number" id="askJkz56t6u`bKH3UK30"><field name="NUM">2000</field></shadow></value></block></value><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="/+EK4`XBfNTY92vOM?aX"><field name="VAR">i</field></shadow><block type="variables_get" id="!mr}BATMa{o|(q)1qSHB"><field name="VAR">i</field></block></value><statement name="DO"><block type="esp32_music_pitch" id="FMlP:10[*Z__Ja;.$M!C"><value name="PIN"><shadow type="pins_pwm_pin" id="*Yn8Kx.rZr1G3@!Lxwr)"><field name="PIN">27</field></shadow></value><value name="pitch"><shadow type="pins_tone_notes" id="xNOTM0NQqFeddJ2~{z_p"><field name="PIN">659</field></shadow></value><next><block type="base_delay" id="|+e]YRykU4r?PKdDC|3P"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="y)*#RedBh+Ec`h_lo2Lm"><field name="NUM">1000</field></shadow></value><next><block type="esp32_music_stop" id="GJt3S)g3Nf[ArL%%Dq1@"><value name="PIN"><shadow type="pins_pwm_pin" id="I7U:XNPyj!fHF2E0*14Z"><field name="PIN">27</field></shadow></value></block></next></block></next></block></statement></block></statement></block></statement></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="variables_set" id="U+}J:Y?p`M{_,)wZZTt/" x="1198" y="600"><field name="VAR">x</field><value name="VALUE"><block type="math_number" id="MhmE6S]8k@XWA5~pB?~p"><field name="NUM">0</field></block></value><next><block type="controls_whileUntil" id="P4_OlPNpIl;S39VR_P!l"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="ygw%#.bPT|Ppe8yj~s`X"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="OwknGpM1WS0xpYMbb^(*"><field name="VAR">x</field><value name="VALUE"><block type="math_to_int" id="K03s-Gor+8f8-ESfb0r@"><field name="OP">round</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="sphHS$B,yV@LIzh]ZmF]"><field name="NUM">0.998</field></shadow><block type="math_map" id=".{HPx3CP|33UWK3fIHy;"><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Gb%P_pK_9/Nmht.S#Hy-"><field name="NUM">50</field></shadow><block type="sensor_mpu9250_get_acceleration" id="~k^3D~=nAJ/r,y)l{-Dz"><field name="key">x</field><value name="SUB"><shadow type="variables_get" id="D}O{P.cB`}$L~$*dr(;$"><field name="VAR">mpu</field></shadow></value></block></value><value name="fromLow"><shadow type="math_number" id="sUz$;rHlU@`#SY%bxO|l"><field name="NUM">-1</field></shadow></value><value name="fromHigh"><shadow type="math_number" id=";u=*hA-.`8O?E58`2=%S"><field name="NUM">1</field></shadow></value><value name="toLow"><shadow type="math_number" id="^.#hDQzPwF{LJZ+u#1$I"><field name="NUM">0</field></shadow></value><value name="toHigh"><shadow type="math_number" id="CtUvGugJ2ezDCj^|ExvU"><field name="NUM">15</field></shadow></value></block></value></block></value><next><block type="display_bright_point" id="aX5!r+fZXgwMfmV~n#2T"><value name="x"><shadow xmlns="http://www.w3.org/1999/xhtml" type="pins_exlcdh" id="hht{,?Q-RN[nb*2[IJe~"><field name="PIN">0</field></shadow><block type="variables_get" id="JTEHEY[SJ5a+7gO(Cg?c"><field name="VAR">x</field></block></value><value name="y"><shadow type="pins_exlcdv" id="fS8J3#nV!kJhhP^u[4hc"><field name="PIN">7</field></shadow></value><value name="STAT"><shadow type="display_onoff" id="}quEIqxOOR|KdL9Z^qht"><field name="ONOFF">ON</field></shadow></value><next><block type="controls_delay" id="Ud/J1k%=@nA[UofHWoNP"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="[.kz]6[WGbxNiNPgO.SZ"><field name="NUM">100</field></shadow></value><next><block type="display_clear" id="j`G0,yuFqlWBrNAd8?dv"></block></next></block></next></block></next></block></statement></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="iot_wifi_connect" id="~,Yg$z.[il8*EF#Q!;kX" x="-23" y="1"><value name="WIFINAME"><shadow type="text" id="Fxf?wc^0rx2mg31jO,M`"><field name="TEXT">hwq</field></shadow></value><value name="PASSWORD"><shadow type="text" id="(bbrtF`77yA-Iv8gO/$D"><field name="TEXT">hwq458362228</field></shadow></value><next><block type="iot_onenet_connect" id="BcXHYPdij_2jgC]GosAk"><value name="VAR"><shadow type="variables_get" id="nBt7qaQ%|d7${nUJ)VvC"><field name="VAR">c</field></shadow></value><value name="CLIENT"><shadow type="text" id="J$WN*b+Nt{PuHUHbZUcu"><field name="TEXT">559094459</field></shadow></value><value name="SERVER"><shadow type="text" id=";n=tcgrD#HCQ=L.f7+B}"><field name="TEXT">183.230.40.39</field></shadow></value><value name="USERNAME"><shadow type="text" id="xcgf:+U,|=KEx~)6qbUb"><field name="TEXT">182071</field></shadow></value><value name="PASSWORD"><shadow type="text" id="(Jm46p#RUeG!qH?Cj7$`"><field name="TEXT">mHMdGuxuyBCfnWhYtQNBwf3uhWs=</field></shadow></value><value name="TOPIC"><shadow type="text" id="alD9LKG)~wNK0@?;AR/_"><field name="TEXT">MixlyRobot</field></shadow></value><value name="SUB"><shadow type="factory_block_return" id="v5wOtVJvZZfo7g,RN!P#"><field name="VALUE">sub_cb</field></shadow></value><next><block type="controls_whileUntil" id="Wa6T8$V6#;{1Y(*SxYv}"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="7YYzLF,tvxhBfQETW2m["><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_delay" id="nwX_UhN7}a[(Ip/T~cA$"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="M)t^D2=KCNDt11q-*0I{"><field name="NUM">1000</field></shadow></value><next><block type="iot_onenet_check" id="DH^8;o0K$!C7q50O?TnE"><value name="VAR"><shadow type="variables_get" id="FSQWGb;^@x`Q{j=3{0w?"><field name="VAR">c</field></shadow></value></block></next></block></statement></block></next></block></next></block><block type="procedures_defnoreturn" id="KK1=?_mOnlk7~C[=QeD(" x="567" y="-1"><mutation xmlns="http://www.w3.org/1999/xhtml"><arg name="topic"></arg><arg name="msg"></arg></mutation><field name="NAME">sub_cb</field><statement name="STACK"><block type="controls_if" id="wk;oQS#dU-5*rpR0#YMh"><value name="IF0"><block type="logic_compare" id=",3C|U|29Prky2A%D{5!Z"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="Fr-6z09O+:a%FJa^gdDQ"><field name="VAR">msg</field></block></value><value name="B"><block type="text_to_number" id="N~[vK$fYzoXQ4T8R{sQ#"><field name="TOWHAT">b</field><value name="VAR"><shadow type="text" id="~b%3TqgRLv}rNP{7Ia{c"><field name="TEXT">on</field></shadow></value></block></value></block></value><statement name="DO0"><block type="actuator_led_bright" id=",ca)ErMx]@4_zX;fT+q-"><value name="led"><shadow type="number" id="A-M,6pLtk{VwsOCZ,~W0"><field name="op">1</field></shadow></value><value name="bright"><shadow type="ledswitch" id="V2pu{;JZv@Cw+|U5Zw#a"><field name="flag">1</field></shadow></value></block></statement><next><block type="controls_if" id=".cLHq[Xr5[yg:u:D[WyT"><value name="IF0"><block type="logic_compare" id="pZXvDL3lN8_TWX_aGJR1"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="uR5Z^0ZE7TgoiO_=Z#Yq"><field name="VAR">msg</field></block></value><value name="B"><block type="text_to_number" id="D/ux7Yssj:P|=1*N44`2"><field name="TOWHAT">b</field><value name="VAR"><shadow type="text" id="5p|]4:$O2]PYvng!AQ[Q"><field name="TEXT">off</field></shadow></value></block></value></block></value><statement name="DO0"><block type="actuator_led_bright" id=".flTCKA-IP5@FNyX[;)n"><value name="led"><shadow type="number" id="?N.HTJ%UybP^(A+;BsQb"><field name="op">1</field></shadow></value><value name="bright"><shadow type="ledswitch" id="D_CoMAX%W!a!~H0wRaD?"><field name="flag">0</field></shadow></value></block></statement></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="controls_whileUntil" id="IR+@u|5n=cbO@A^$sgr@" x="125" y="66"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="/;w2YI,h38}1(q4k5oG@"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_if" id="iFaoFcF2=n$FB1B75uvO"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="1" else="1"></mutation><value name="IF0"><block type="sensor_mixgo_button_is_pressed" id="_AL-]#t5foBRlU:kGcZA"><value name="btn"><shadow type="pins_button" id="Ng9Emc11a1xBhz3Hd|h%"><field name="PIN">button_a</field></shadow></value></block></value><statement name="DO0"><block type="display_show_image_or_string" id="Lx2#~;=*8%Buw9I|*8Co"><value name="data"><shadow type="pins_builtinimg" id="#ni|2UKiJ~$.`C?eCvP}"><field name="PIN">matrix.Image.HAPPY</field></shadow></value></block></statement><value name="IF1"><block type="sensor_mixgo_button_is_pressed" id="gD]T4-eR[6?P`c|HHni7"><value name="btn"><shadow type="pins_button" id="iTeq4%4k(4V+O7@YqMdX"><field name="PIN">button_b</field></shadow></value></block></value><statement name="DO1"><block type="display_show_image_or_string" id="#eR6qV#B5YKLa7V8pkX("><value name="data"><shadow type="pins_builtinimg" id="Oi^Re(glSF4h)H%nIk!n"><field name="PIN">matrix.Image.SAD</field></shadow></value></block></statement><statement name="ELSE"><block type="display_show_image_or_string" id="CGzbsi0d%}4bn)$|iq@8"><value name="data"><shadow type="pins_builtinimg" id="@@6q~[c/zIuLnZpb#Iol"><field name="PIN">matrix.Image.CONFUSED</field></shadow></value></block></statement></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="controls_whileUntil" id="IR+@u|5n=cbO@A^$sgr@" x="125" y="66"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="/;w2YI,h38}1(q4k5oG@"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_if" id="iFaoFcF2=n$FB1B75uvO"><value name="IF0"><block type="sensor_mixgo_button_was_pressed" id="jbZuSU`9el+Pg/P}zPd("><value name="btn"><shadow type="pins_button" id="/6$ca`NTY(djf4uCe1,1"><field name="PIN">button_a</field></shadow></value></block></value><statement name="DO0"><block type="display_show_image_or_string" id="Lx2#~;=*8%Buw9I|*8Co"><value name="data"><shadow type="pins_builtinimg" id="#ni|2UKiJ~$.`C?eCvP}"><field name="PIN">matrix.Image.HAPPY</field></shadow></value><next><block type="controls_delay" id=".Q%8J,MVV]iIQ45+z)fO"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="16PmCM)T5/u}!S8Bj^o)"><field name="NUM">1000</field></shadow></value></block></next></block></statement><next><block type="controls_if" id=";yQ44}OF/fR;l5c{1lKm"><value name="IF0"><block type="sensor_mixgo_button_was_pressed" id="Qm%,%+I_u(1TPpo2,Ka}"><value name="btn"><shadow type="pins_button" id="/UXj.Sgs;dD@+/ZEzaOz"><field name="PIN">button_b</field></shadow></value></block></value><statement name="DO0"><block type="display_show_image_or_string" id="#eR6qV#B5YKLa7V8pkX("><value name="data"><shadow type="pins_builtinimg" id="Oi^Re(glSF4h)H%nIk!n"><field name="PIN">matrix.Image.SAD</field></shadow></value><next><block type="controls_delay" id="q3(S6uILm.4cix:Rh^Dz"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="khaYU13{_@mhN?q~JH^7"><field name="NUM">1000</field></shadow></value></block></next></block></statement><next><block type="display_show_image_or_string" id="CGzbsi0d%}4bn)$|iq@8"><value name="data"><shadow type="pins_builtinimg" id="@@6q~[c/zIuLnZpb#Iol"><field name="PIN">matrix.Image.CONFUSED</field></shadow></value></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="controls_whileUntil" id="IR+@u|5n=cbO@A^$sgr@" x="125" y="66"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="/;w2YI,h38}1(q4k5oG@"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_if" id="iFaoFcF2=n$FB1B75uvO"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="2" else="1"></mutation><value name="IF0"><block type="logic_operation" id="Ef;c*jzk|zXq0#?UK-~S"><field name="OP">AND</field><value name="A"><block type="sensor_mixgo_button_is_pressed" id=")q^yP@eAwCPsk[a-Y-C1"><value name="btn"><shadow type="pins_button" id="!pX1Rb8,ee~ClP(r,GGJ"><field name="PIN">button_a</field></shadow></value></block></value><value name="B"><block type="sensor_mixgo_button_is_pressed" id="ss9lpV-z6!i19SBu8OJ,"><value name="btn"><shadow type="pins_button" id="dcR9[yjJ@szQnqSr/__f"><field name="PIN">button_b</field></shadow></value></block></value></block></value><statement name="DO0"><block type="display_show_image_or_string" id="c0wE!GxyZUV8Lp;}eUJm"><value name="data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="pins_builtinimg" id=")b+Cd!{X%0^9Pfm:Y2v="><field name="PIN">matrix.Image.HAPPY</field></shadow><block type="image_arithmetic" id="WcEhSVr/j%{7Av(A:.D@"><field name="OP">+</field><value name="A"><shadow type="pins_builtinimg" id="RrBEKECFqXRkZzn-`.^g"><field name="PIN">matrix.Image.HAPPY</field></shadow></value><value name="B"><shadow type="pins_builtinimg" id="/WUY8bn@r^JF_wnFD4mO"><field name="PIN">matrix.Image.SAD</field></shadow></value></block></value></block></statement><value name="IF1"><block type="sensor_mixgo_button_is_pressed" id="_AL-]#t5foBRlU:kGcZA"><value name="btn"><shadow type="pins_button" id="Ng9Emc11a1xBhz3Hd|h%"><field name="PIN">button_a</field></shadow></value></block></value><statement name="DO1"><block type="display_show_image_or_string" id="Lx2#~;=*8%Buw9I|*8Co"><value name="data"><shadow type="pins_builtinimg" id="#ni|2UKiJ~$.`C?eCvP}"><field name="PIN">matrix.Image.HAPPY</field></shadow></value></block></statement><value name="IF2"><block type="sensor_mixgo_button_is_pressed" id="gD]T4-eR[6?P`c|HHni7"><value name="btn"><shadow type="pins_button" id="iTeq4%4k(4V+O7@YqMdX"><field name="PIN">button_b</field></shadow></value></block></value><statement name="DO2"><block type="display_show_image_or_string" id="#eR6qV#B5YKLa7V8pkX("><value name="data"><shadow type="pins_builtinimg" id="Oi^Re(glSF4h)H%nIk!n"><field name="PIN">matrix.Image.SAD</field></shadow></value></block></statement><statement name="ELSE"><block type="display_show_image_or_string" id="CGzbsi0d%}4bn)$|iq@8"><value name="data"><shadow type="pins_builtinimg" id="@@6q~[c/zIuLnZpb#Iol"><field name="PIN">matrix.Image.CONFUSED</field></shadow></value></block></statement></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="iot_wifi_connect" id="~,Yg$z.[il8*EF#Q!;kX" x="-23" y="1"><value name="WIFINAME"><shadow type="text" id="Fxf?wc^0rx2mg31jO,M`"><field name="TEXT">wifiname</field></shadow></value><value name="PASSWORD"><shadow type="text" id="(bbrtF`77yA-Iv8gO/$D"><field name="TEXT">wifipassword</field></shadow></value><next><block type="iot_onenet_connect" id="BcXHYPdij_2jgC]GosAk"><value name="VAR"><shadow type="variables_get" id="nBt7qaQ%|d7${nUJ)VvC"><field name="VAR">c</field></shadow></value><value name="CLIENT"><shadow type="text" id="J$WN*b+Nt{PuHUHbZUcu"><field name="TEXT">31444082</field></shadow></value><value name="SERVER"><shadow type="text" id=";n=tcgrD#HCQ=L.f7+B}"><field name="TEXT">183.230.40.39</field></shadow></value><value name="USERNAME"><shadow type="text" id="xcgf:+U,|=KEx~)6qbUb"><field name="TEXT">141092</field></shadow></value><value name="PASSWORD"><shadow type="text" id="(Jm46p#RUeG!qH?Cj7$`"><field name="TEXT">61n63JySRowo13ZLDBKw6y896E0=</field></shadow></value><value name="TOPIC"><shadow type="text" id="alD9LKG)~wNK0@?;AR/_"><field name="TEXT">MixlyRobot</field></shadow></value><value name="SUB"><shadow type="factory_block_return" id="v5wOtVJvZZfo7g,RN!P#"><field name="VALUE">sub_cb</field></shadow></value><next><block type="controls_whileUntil" id="Wa6T8$V6#;{1Y(*SxYv}"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="7YYzLF,tvxhBfQETW2m["><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_delay" id="nwX_UhN7}a[(Ip/T~cA$"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="M)t^D2=KCNDt11q-*0I{"><field name="NUM">1000</field></shadow></value><next><block type="iot_onenet_check" id="DH^8;o0K$!C7q50O?TnE"><value name="VAR"><shadow type="variables_get" id="FSQWGb;^@x`Q{j=3{0w?"><field name="VAR">c</field></shadow></value></block></next></block></statement></block></next></block></next></block><block type="procedures_defnoreturn" id="KK1=?_mOnlk7~C[=QeD(" x="583" y="-4"><mutation xmlns="http://www.w3.org/1999/xhtml"><arg name="topic"></arg><arg name="msg"></arg></mutation><field name="NAME">sub_cb</field><statement name="STACK"><block type="controls_if" id="wk;oQS#dU-5*rpR0#YMh"><value name="IF0"><block type="logic_compare" id=",3C|U|29Prky2A%D{5!Z"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="Fr-6z09O+:a%FJa^gdDQ"><field name="VAR">msg</field></block></value><value name="B"><block type="text_to_number" id="N~[vK$fYzoXQ4T8R{sQ#"><field name="TOWHAT">b</field><value name="VAR"><shadow type="text" id="~b%3TqgRLv}rNP{7Ia{c"><field name="TEXT">on</field></shadow></value></block></value></block></value><statement name="DO0"><block type="actuator_led_bright" id=",ca)ErMx]@4_zX;fT+q-"><value name="led"><shadow type="number" id="A-M,6pLtk{VwsOCZ,~W0"><field name="op">1</field></shadow></value><value name="bright"><shadow type="ledswitch" id="V2pu{;JZv@Cw+|U5Zw#a"><field name="flag">1</field></shadow></value></block></statement><next><block type="controls_if" id=".cLHq[Xr5[yg:u:D[WyT"><value name="IF0"><block type="logic_compare" id="pZXvDL3lN8_TWX_aGJR1"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="uR5Z^0ZE7TgoiO_=Z#Yq"><field name="VAR">msg</field></block></value><value name="B"><block type="text_to_number" id="D/ux7Yssj:P|=1*N44`2"><field name="TOWHAT">b</field><value name="VAR"><shadow type="text" id="5p|]4:$O2]PYvng!AQ[Q"><field name="TEXT">off</field></shadow></value></block></value></block></value><statement name="DO0"><block type="actuator_led_bright" id=".flTCKA-IP5@FNyX[;)n"><value name="led"><shadow type="number" id="?N.HTJ%UybP^(A+;BsQb"><field name="op">1</field></shadow></value><value name="bright"><shadow type="ledswitch" id="D_CoMAX%W!a!~H0wRaD?"><field name="flag">0</field></shadow></value></block></statement></block></next></block></statement></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="variables_set" id="W1jNK1LR_sfgBS,0nU]G" x="69" y="49"><field name="VAR">state</field><value name="VALUE"><block type="logic_boolean" id="~=zLILE4}{XB)+=XE;8:"><field name="BOOL">TRUE</field></block></value><next><block type="controls_whileUntil" id="tmVB0QB=px|G}mFMoZK6"><field name="MODE">WHILE</field><value name="BOOL"><shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="6k%i0l=vVp=qdQ-=1lx*"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="7AIT-BFS:4#lIsHxUZcj"><field name="VAR">state</field></block></value><statement name="DO"><block type="controls_if" id="k-=f^UU{gY)]3:eV_Hti"><value name="IF0"><block type="sensor_mixgo_button_was_pressed" id="J`T7aA`dn`w+:z^Y-4B2"><value name="btn"><shadow type="pins_button" id="8A~%XN/Rt.zk++vl~lbb"><field name="PIN">button_a</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="?Yv@^|VTQqdE(!S`.YLN"><field name="VAR">state</field><value name="VALUE"><block type="logic_boolean" id="IbFt}N0W!waj,b3yPiOC"><field name="BOOL">FALSE</field></block></value><next><block type="actuator_led_bright" id="4z(a9-H_]l6UQN?j?C@["><value name="led"><shadow type="number" id="s2_n:V_RFEed`UO#Vw4."><field name="op">1</field></shadow></value><value name="bright"><shadow type="ledswitch" id="|U[07;~IU$E`yieKxw8z"><field name="flag">1</field></shadow></value><next><block type="controls_delay" id="^sU3I8XgS~Li~tRzjz5:"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="ygOK0P/wXpJ5LB$YCD]T"><field name="NUM">1000</field></shadow></value><next><block type="actuator_led_bright" id="nPO,ETn]i!NzD,k*YeY?"><value name="led"><shadow type="number" id="K4z,T}-GI|nDEDlÝJl"><field name="op">1</field></shadow></value><value name="bright"><shadow type="ledswitch" id="e`.xfYLfgGQHJ_|Q@0zr"><field name="flag">0</field></shadow></value></block></next></block></next></block></next></block></statement><next><block type="controls_if" id="?5iFcEjzhPnBrVbjXgw)"><value name="IF0"><block type="sensor_mixgo_button_was_pressed" id="[H:prsQFD;GaEM=dwHNQ"><value name="btn"><shadow type="pins_button" id="lrh@qO*,p/;@G_twotEE"><field name="PIN">button_b</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="b{)(vSz~U?@*hqk1..WV"><field name="VAR">state</field><value name="VALUE"><block type="logic_boolean" id="1b?6dW@F$DdbduJmO^P`"><field name="BOOL">FALSE</field></block></value><next><block type="actuator_led_bright" id="C1:/dmh!`vO0!N-]Ngc+"><value name="led"><shadow type="number" id="}Ybh8%i25{Y,js342=K$"><field name="op">2</field></shadow></value><value name="bright"><shadow type="ledswitch" id="wYgI4Gu%{-nbwVvIq{"><field name="flag">1</field></shadow></value><next><block type="controls_delay" id="Kz~Gow1Yk9y=UE5Arvn5"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="_jQ/zLBr0V2R/IM~d5hc"><field name="NUM">1000</field></shadow></value><next><block type="actuator_led_bright" id="S#hC0$HD8LMJFR?X+_OB"><value name="led"><shadow type="number" id="`xci?r[[yE/~j{i85YxY"><field name="op">2</field></shadow></value><value name="bright"><shadow type="ledswitch" id="j+y5QC{[]_*(S}`|nyy8"><field name="flag">0</field></shadow></value></block></next></block></next></block></next></block></statement></block></next></block></statement></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="procedures_defnoreturn" id="e}e@b%)44MD_JOY!/{|W" x="67" y="76"><mutation xmlns="http://www.w3.org/1999/xhtml"><arg name="延时"></arg></mutation><field name="NAME">警报声</field><statement name="STACK"><block type="controls_forEach" id="achkUGX{yesU$c)m99Zq"><value name="LIST"><shadow xmlns="http://www.w3.org/1999/xhtml" type="list_many_input"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="R|_CRhqL8A1JKo]RM}AA"><value name="FROM"><shadow type="math_number" id="S}|m@pEJS!hMY.6RhF4y"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="{lx~3z=0Qxm~lzEjWzd4"><field name="NUM">180</field></shadow></value><value name="STEP"><shadow type="math_number" id="Hoe`dc4L.IG}SHtGO-lV"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="IZbD!Er61bP$tNs`2fNm"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="esp32_music_pitch" id="~gP,;7I)JF^U%}424P?I"><value name="PIN"><shadow type="pins_pwm_pin" id="*+I}4jq(e3d?w2D/pT"><field name="PIN">27</field></shadow></value><value name="pitch"><shadow xmlns="http://www.w3.org/1999/xhtml" type="pins_tone_notes" id="fxZ|o33d_muOUGq9QmhK"><field name="PIN">440</field></shadow><block type="math_arithmetic" id="`[^[2-N4?R4p{#GnSH2G" inline="false"><field name="OP">ADD</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="AKBf=}LW3+CH?=|}4|BW"><field name="NUM">3.1412</field></shadow><block type="math_arithmetic" id="N4[VMJ#wv5S`(.]T[qYX" inline="false"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="g,)7zMYJY`lD~ri;ec^j"><field name="NUM">1</field></shadow><block type="math_trig" id="cb_?p,gA6{H=t{PTU@B;"><field name="OP">SIN</field><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="[y}J+:n8lL?1^~CB`Fer"><field name="NUM">90</field></shadow><block type="math_arithmetic" id="HQ(j=PLdEh,w7jxscdz5"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="/N:OBOGs?CE2BC?c0N|x"><field name="NUM">1</field></shadow><block type="variables_get" id="dRZ#E{yCn`ckl$`xC(bq"><field name="VAR">i</field></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="j~CBj!UM?:JYZuZ*m){6"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="zLIg#,uc~$OEfl4cxwcM"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number" id=",22?n0aTD[(N}NK)M2bE"><field name="NUM">3.1412</field></shadow></value><value name="B"><shadow type="math_number" id="{yi)/M],c`..t+Y5^y99"><field name="NUM">180</field></shadow></value></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="[4Xa)dL4EFSc|y#*ACi1"><field name="NUM">1000</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="H%Eo@_V)KR!Az:ï{3t"><field name="NUM">2000</field></shadow></value></block></value><next><block type="controls_delay" id="B42S#oanT.YO5E/?.tcf"><field name="Time">ms</field><value name="DELAY_TIME"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="qy)/zlZ7D?6i3rTd%QV}"><field name="NUM">20</field></shadow><block type="variables_get" id="_pHpp~*/Q=3LD7FlzY@u"><field name="VAR">延时</field></block></value></block></next></block></statement></block></statement></block><block type="controls_whileUntil" id="r^OY-eT@sc8SfWN#dNob" x="66" y="332"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="R(j8z!`{eZWLEd2`|U}y"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_if" id="ztC}ZN`u*P0c-?d^eR+1"><value name="IF0"><block type="sensor_mixgo_button_was_pressed" id="9ai415xI5^).$PQf#:;8"><value name="btn"><shadow type="pins_button" id="1/yt4CYSYt|UJOl|Mc(Y"><field name="PIN">button_a</field></shadow></value></block></value><statement name="DO0"><block type="procedures_callnoreturn" id="}W_l2ldANS^S[6y=0#ZB"><mutation xmlns="http://www.w3.org/1999/xhtml" name="警报声"><arg name="延时"></arg></mutation><value name="ARG0"><block type="math_number" id="`Iig7U[6qNX[7j6DmHl^"><field name="NUM">20</field></block></value><next><block type="esp32_music_stop" id="v^sdQZeMh)j*j3nSv4Q."><value name="PIN"><shadow type="pins_pwm_pin" id="6?.hS.mDgd%r{W5o}Q1i"><field name="PIN">27</field></shadow></value></block></next></block></statement></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="RTC_set_datetime" id="R9dFMAi%ljsoFyw}|U)O" x="50" y="3"><value name="SUB"><shadow type="variables_get" id="*3!,.ZZJ^9JG~ko-smo`"><field name="VAR">rtc</field></shadow></value><value name="year"><shadow type="math_number" id="LD=D^jsY1t#qEK@@*n4("><field name="NUM">2019</field></shadow></value><value name="month"><shadow type="math_number" id="4=*:eZ/b4kp?*IqO1P{P"><field name="NUM">10</field></shadow></value><value name="day"><shadow type="math_number" id="L3X$u{qwpjfbI^%4JtcH"><field name="NUM">10</field></shadow></value><value name="weekday"><shadow type="math_number" id="8WJHx{m6oLv6/566xrJ2"><field name="NUM">4</field></shadow></value><value name="hour"><shadow type="math_number" id="7shqf2YEpWO0b!ehf}s5"><field name="NUM">18</field></shadow></value><value name="minute"><shadow type="math_number" id="sHz(mus-wEg@l?g@79;N"><field name="NUM">00</field></shadow></value><value name="second"><shadow type="math_number" id="T3-zmz=56X@2a2P6[}Q9"><field name="NUM">0</field></shadow></value><value name="millisecond"><shadow type="math_number" id="Yk!C~Z@0l}#22aG!`UiS"><field name="NUM">0</field></shadow></value><next><block type="controls_whileUntil" id="K5m+HG9hPf8BvW/[|g)D"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="/rE3n%LWe,|^vGIdblV0"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="L0C16E+r%=0##U!A4|d~"><field name="VAR">clocks</field><value name="VALUE"><block type="RTC_get_time" id="c(ZK)B4}ceVXxf!hx;yN"><value name="SUB"><shadow type="variables_get" id="-:`]b*jH`Ce=B,l5mc!{"><field name="VAR">rtc</field></shadow></value></block></value><next><block type="display_scroll_string" id="$I(s[0{9M=FL0E1zggLf"><value name="data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text"><field name="TEXT">Mixly</field></shadow><block type="text_join" id="!@gk7]r3V!Rve%Nc_*,z" inline="false"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text"><field name="TEXT">Hello</field></shadow><block type="number_to_text" id="xMX`Aqv}z^#.Y345=K*-"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">0</field></shadow><block type="tuple_getIndex" id="*C_ievtlCfZW(TDu5Z-%"><value name="TUP"><shadow type="variables_get" id="y9+seZlW@rA+p_RY!.]c"><field name="VAR">clocks</field></shadow></value><value name="AT"><shadow type="math_number" id=")pCG3.s9=93=3YU%HD=-"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text"><field name="TEXT">Mixly</field></shadow><block type="text_join" id="g3W%a{hLV5yH!DkF$A8M" inline="false"><value name="A"><shadow type="text" id="u;gQ~)FNsq=Lg|F%q){,"><field name="TEXT">,</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text"><field name="TEXT">Mixly</field></shadow><block type="text_join" id="u9p[[2z.)TRHuok?`}mt" inline="false"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text"><field name="TEXT">Hello</field></shadow><block type="number_to_text" id="bDpHK1AMLSf*pD((H6~/"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">0</field></shadow><block type="tuple_getIndex" id="!ey~ECuh#?gy-]I;7WO@"><value name="TUP"><shadow type="variables_get" id="HV9JlBbu6}6-l08h9Eyw"><field name="VAR">clocks</field></shadow></value><value name="AT"><shadow type="math_number" id="td9J,~kftt0NWaaAvo[1"><field name="NUM">5</field></shadow></value></block></value></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text"><field name="TEXT">Mixly</field></shadow><block type="text_join" id="B0n[iA|9ouARttB1-#}," inline="false"><value name="A"><shadow type="text" id="q)Ea]A1muDMksam,BL?K"><field name="TEXT">,</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text"><field name="TEXT">Mixly</field></shadow><block type="number_to_text" id="e8948Y:|XLzwQ~bW(k`2"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">0</field></shadow><block type="tuple_getIndex" id="sXS3)SK/8FCVOa[)vjb/"><value name="TUP"><shadow type="variables_get" id="$/RN(/{;`[zi~AQ#|Gos"><field name="VAR">clocks</field></shadow></value><value name="AT"><shadow type="math_number" id="o*zurPL?GS#AB9KM1gnY"><field name="NUM">6</field></shadow></value></block></value></block></value></block></value></block></value></block></value></block></value></block></next></block></statement></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="iot_wifi_connect" id="~,Yg$z.[il8*EF#Q!;kX" x="-23" y="1"><value name="WIFINAME"><shadow type="text" id="Fxf?wc^0rx2mg31jO,M`"><field name="TEXT">wifiname</field></shadow></value><value name="PASSWORD"><shadow type="text" id="(bbrtF`77yA-Iv8gO/$D"><field name="TEXT">wifipassword</field></shadow></value><next><block type="iot_onenet_connect" id="BcXHYPdij_2jgC]GosAk"><value name="VAR"><shadow type="variables_get" id="nBt7qaQ%|d7${nUJ)VvC"><field name="VAR">c</field></shadow></value><value name="CLIENT"><shadow type="text" id="J$WN*b+Nt{PuHUHbZUcu"><field name="TEXT">31444082</field></shadow></value><value name="SERVER"><shadow type="text" id=";n=tcgrD#HCQ=L.f7+B}"><field name="TEXT">183.230.40.39</field></shadow></value><value name="USERNAME"><shadow type="text" id="xcgf:+U,|=KEx~)6qbUb"><field name="TEXT">141092</field></shadow></value><value name="PASSWORD"><shadow type="text" id="(Jm46p#RUeG!qH?Cj7$`"><field name="TEXT">61n63JySRowo13ZLDBKw6y896E0=</field></shadow></value><value name="TOPIC"><shadow type="text" id="alD9LKG)~wNK0@?;AR/_"><field name="TEXT">MixlyRobot</field></shadow></value><value name="SUB"><shadow type="factory_block_return" id="v5wOtVJvZZfo7g,RN!P#"><field name="VALUE">sub_cb</field></shadow></value><next><block type="controls_whileUntil" id="Wa6T8$V6#;{1Y(*SxYv}"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="7YYzLF,tvxhBfQETW2m["><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_delay" id="nwX_UhN7}a[(Ip/T~cA$"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="M)t^D2=KCNDt11q-*0I{"><field name="NUM">1000</field></shadow></value><next><block type="iot_onenet_publish" id="q}XLXpFpcd7q1VVd_0o/"><mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation><field name="KEY0">\"button_a\"</field><field name="KEY1">\"button_b\"</field><value name="VAR"><shadow type="variables_get" id="ZR[-h*a$k6OW`2Sf0Hw~"><field name="VAR">c</field></shadow></value><value name="ADD0"><block type="sensor_mixgo_button_was_pressed" id=")^;q8CC;N05lu9m{u:Mc"><value name="btn"><shadow type="pins_button" id="H2|d|$gUjQX_=I]~;]Uu"><field name="PIN">button_a</field></shadow></value></block></value><value name="ADD1"><block type="sensor_mixgo_button_was_pressed" id="6yBCB+(9z_MHJv83zE!K"><value name="btn"><shadow type="pins_button" id="lCdBgtXi8-93I3P05q!5"><field name="PIN">button_b</field></shadow></value></block></value></block></next></block></statement></block></next></block></next></block><block type="procedures_defnoreturn" id="KK1=?_mOnlk7~C[=QeD(" x="583" y="-4"><mutation xmlns="http://www.w3.org/1999/xhtml"><arg name="topic"></arg><arg name="msg"></arg></mutation><field name="NAME">sub_cb</field><statement name="STACK"><block type="controls_if" id="wk;oQS#dU-5*rpR0#YMh"><value name="IF0"><block type="logic_compare" id=",3C|U|29Prky2A%D{5!Z"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="Fr-6z09O+:a%FJa^gdDQ"><field name="VAR">msg</field></block></value><value name="B"><block type="text_to_number" id="N~[vK$fYzoXQ4T8R{sQ#"><field name="TOWHAT">b</field><value name="VAR"><shadow type="text" id="~b%3TqgRLv}rNP{7Ia{c"><field name="TEXT">on</field></shadow></value></block></value></block></value></block></statement></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="MixGo" xmlns="http://www.w3.org/1999/xhtml"><block type="controls_whileUntil" id="IR+@u|5n=cbO@A^$sgr@" x="125" y="66"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="/;w2YI,h38}1(q4k5oG@"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="display_scroll_string" id="YcCC9oqi#9u~su__6R-S"><value name="data"><shadow type="text" id=",H)`q)D.TNlqii/k/;;5"><field name="TEXT">Mixly</field></shadow></value></block></statement></block></xml>