1 line
8.4 KiB
XML
1 line
8.4 KiB
XML
<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="13" y="-39"><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="actuator_neopixel_init" id="4,hnok2_+9fOaY9`/%bW"><value name="SUB"><shadow type="variables_get" id="B0kd;Y4YC1+e.+$#RpXc"><field name="VAR">rgb</field></shadow></value><value name="PIN"><shadow type="pins_digital_pin" id="0R=CDqB6(JN1rUtseI@m"><field name="PIN">2</field></shadow></value><value name="LEDCOUNT"><shadow type="math_number" id="t-k{vti~:gl:~XSVf+_q"><field name="NUM">2</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="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><next><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></block></next></block></statement></block></next></block></next></block></next></block><block type="procedures_defnoreturn" id="KK1=?_mOnlk7~C[=QeD(" x="578" y="-41"><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"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="2"></mutation><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">s1</field></shadow></value></block></value></block></value><statement name="DO0"><block type="actuator_neopixel_rgb" id="A,H%j:oxOyF[-6*5~CV%"><value name="SUB"><shadow type="variables_get" id="#cu*L}^n{0whC[X7@!hI"><field name="VAR">rgb</field></shadow></value><value name="_LED_"><shadow type="math_number" id="nmxBShQzxyWEJ//itT:x"><field name="NUM">0</field></shadow></value><value name="RVALUE"><shadow type="math_number" id="18yk|-Wn^/{`#=cFX6~f"><field name="NUM">50</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="^MIFP0eeOiC^a7(PCt7Y"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="IagRI.cA%NFt)ZXE2L:5"><field name="NUM">0</field></shadow></value><next><block type="actuator_neopixel_rgb" id="Xjy7ZpN[W,eS~9#/+a,+"><value name="SUB"><shadow type="variables_get" id="W@1]Lg%kF}FTtrM5eZq6"><field name="VAR">rgb</field></shadow></value><value name="_LED_"><shadow type="math_number" id="=4gGuFPkoBldi!5}No9;"><field name="NUM">1</field></shadow></value><value name="RVALUE"><shadow type="math_number" id="epq7m_89M6S]NoW:Tf,o"><field name="NUM">50</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="juW1.)5Lf^{xgI8).IHe"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="bXj[CaVC|5v*?`IsiL(p"><field name="NUM">0</field></shadow></value></block></next></block></statement><value name="IF1"><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">s2</field></shadow></value></block></value></block></value><statement name="DO1"><block type="actuator_neopixel_rgb" id="=Q~^qI68Ip]uPXz«iH"><value name="SUB"><shadow type="variables_get" id="YC/5gJ[}~[lTRv4/LwT1"><field name="VAR">rgb</field></shadow></value><value name="_LED_"><shadow type="math_number" id="P`L)p)|u{(-;A]^C{553"><field name="NUM">0</field></shadow></value><value name="RVALUE"><shadow type="math_number" id="~nrN5=|GR$2-2aLV2OWQ"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="dA)j8_rw,W5$$.Esum~T"><field name="NUM">50</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="-FDN}h`:;GWpwHGTP,NW"><field name="NUM">0</field></shadow></value><next><block type="actuator_neopixel_rgb" id="I3YXxK#mHp8c3DsV?~gm"><value name="SUB"><shadow type="variables_get" id="W:TF$Jlsh_zYM2op;aJN"><field name="VAR">rgb</field></shadow></value><value name="_LED_"><shadow type="math_number" id="Z6RuXg(TkUG7XtB[_-:Y"><field name="NUM">1</field></shadow></value><value name="RVALUE"><shadow type="math_number" id="#5ETfy|CL,-kOwy97]_r"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="4e$6IbXsATB^r9%eLdpB"><field name="NUM">50</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="cnT[/3b/Il9tRAwY|/f/"><field name="NUM">0</field></shadow></value></block></next></block></statement><value name="IF2"><block type="logic_compare" id="qkl)Qb@rN{y|H8QBf(O$"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="J|uO)VeNLBtld5_ZZ.cG"><field name="VAR">msg</field></block></value><value name="B"><block type="text_to_number" id="cVKyq.7UC(8G=6{T|b}Q"><field name="TOWHAT">b</field><value name="VAR"><shadow type="text" id="%8|4xxSBi@CKfORHMBk8"><field name="TEXT">s3</field></shadow></value></block></value></block></value><statement name="DO2"><block type="actuator_neopixel_rgb" id=".W(np^=D}[raA:@tWK^J"><value name="SUB"><shadow type="variables_get" id="+`lczW4@x*rh{iUQ+apz"><field name="VAR">rgb</field></shadow></value><value name="_LED_"><shadow type="math_number" id="3FFRw5(^`F3Dw#BxbJL#"><field name="NUM">0</field></shadow></value><value name="RVALUE"><shadow type="math_number" id="Y%H1QT%2rzTA_biO:S7R"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="psd|UC[8mG|Fh_LdSn;c"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="I/oWJD413Z1hc,*},hM8"><field name="NUM">0</field></shadow></value><next><block type="actuator_neopixel_rgb" id="*k!J^apBG}oDnmT,YRY1"><value name="SUB"><shadow type="variables_get" id="mqN52Ywn~JnpLrI`oRN!"><field name="VAR">rgb</field></shadow></value><value name="_LED_"><shadow type="math_number" id="n`iOVl)=HO(}nDCQM{|K"><field name="NUM">1</field></shadow></value><value name="RVALUE"><shadow type="math_number" id="lL;(7DN_dh,c8jH1[yu0"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="iw~=+?.]k*T;x+AOzGN#"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="MW`pnIrazY.!L7Mv7LV0"><field name="NUM">0</field></shadow></value></block></next></block></statement><next><block type="actuator_neopixel_write" id="d2s/{e{$F$z}CBQr3`Os"><value name="SUB"><shadow type="variables_get" id="A:SOg]X{*kdd=KEg(x9f"><field name="VAR">rgb</field></shadow></value></block></next></block></statement></block></xml> |