<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="mpython_init_wifi" id="DGI9PrrJ~)NXHBJyR+%g" x="-656" y="-567">
    <value name="ssid">
      <shadow type="text" id="H]_b;]`Rt46mms2NTz5{">
        <field name="TEXT">woaixcl</field>
      </shadow>
    </value>
    <value name="password">
      <shadow type="text" id="9;b;5|!8wRQ;_j!s@M6|">
        <field name="TEXT">xcl13703403503</field>
      </shadow>
    </value>
    <next>
      <block type="mqtt_setup" id="SkAs;S19iM:#2AKq7Fd0">
        <value name="Server">
          <shadow type="text" id="l1EXHG?|0/3zCG,ww}5P">
            <field name="TEXT">192.168.0.121</field>
          </shadow>
        </value>
        <value name="Client_ID">
          <shadow type="text" id=")=4}F[t1?OUc^R#HNDt0">
            <field name="TEXT">xaio</field>
          </shadow>
        </value>
        <value name="Iot_id">
          <shadow type="text" id="uS=,**uv[4IlW;$7,/UT">
            <field name="TEXT">siot</field>
          </shadow>
        </value>
        <value name="Iot_pwd">
          <shadow type="text" id="Tlpb0oac{,JQGwfcM`/5">
            <field name="TEXT">gdwrobot</field>
          </shadow>
        </value>
        <next>
          <block type="mqtt_connect" id="c2s)a~Tr]-=nq)7/Q([%">
            <next>
              <block type="mqtt_publish" id="Un8Zn7`7TJ-sUP*LSxws">
                <value name="msg">
                  <shadow type="text" id="m9%}aY1;^oF/51014BEh">
                    <field name="TEXT">ok</field>
                  </shadow>
                </value>
                <value name="topic">
                  <shadow type="text" id="kwgw:yR?]f4ej#-1}l7m">
                    <field name="TEXT">xiao/led</field>
                  </shadow>
                </value>
                <next>
                  <block type="mpython_display_fill" id=")qnH%kgDbO-jwc$cAXY0">
                    <field name="display_fill">fill(0)</field>
                    <next>
                      <block type="mpython_display_DispChar_5lines" id="D7[[q{HbH7r54G=sG69f">
                        <field name="TEXTMODE">1</field>
                        <value name="DispChar_5lines">
                          <shadow type="mpython_4_lines" id=")NEgB!Ifk38tIXM|Yp0U">
                            <field name="mpython_4_lines">0</field>
                          </shadow>
                        </value>
                        <value name="message">
                          <shadow type="text" id="uAk[].*5D/.!FkU.7q}(">
                            <field name="TEXT">客厅灯</field>
                          </shadow>
                        </value>
                        <next>
                          <block type="mpython_display_DispChar_5lines" id="22/o%.2y@nk$wE/2mCKR">
                            <field name="TEXTMODE">1</field>
                            <value name="DispChar_5lines">
                              <shadow type="mpython_4_lines" id="o0A-6b*5+?,QUZ?rVpO.">
                                <field name="mpython_4_lines">16</field>
                              </shadow>
                            </value>
                            <value name="message">
                              <shadow type="text" id="uAk[].*5D/.!FkU.7q}(">
                                <field name="TEXT">Hello, world!</field>
                              </shadow>
                              <block type="mpython_WiFi_config" id="{6`_1^oKi!*]ArgG?/4I">
                                <field name="WiFi_config">0</field>
                              </block>
                            </value>
                            <next>
                              <block type="mpython_display_Show" id="7zBzBE}Fd~1SqcbT)^!p">
                                <next>
                                  <block type="controls_repeat_forever" id=".$:K[9#e67J]lt@gvIg+">
                                    <statement name="DO">
                                      <block type="mqtt_wait_msg" id="RH:(Rv8W:Qlq?^[mCA*,">
                                        <field name="mode">block</field>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </next>
  </block>
  <block type="mqtt_rec_from_topic" id="Y6a*Yf,.L/,pc}G83uA[" x="-654" y="-86">
    <field name="topic">xiao/led</field>
    <value name="msg">
      <block type="variables_get" id="Mp#x^y#:NG4rn:6BS*,]">
        <field name="VAR">_msg</field>
      </block>
    </value>
    <statement name="DO">
      <block type="mpython_clear_dispchar_5lines" id="fZ3k8Z**kq4#s:eQzAEZ">
        <value name="DispChar_5lines">
          <shadow type="mpython_4_lines" id=".HL,4(8xs`FYxyG:,fw5">
            <field name="mpython_4_lines">32</field>
          </shadow>
        </value>
        <next>
          <block type="mpython_display_DispChar_5lines" id="^W^wvR@tK@Wgp6TT[c/L">
            <field name="TEXTMODE">1</field>
            <value name="DispChar_5lines">
              <shadow type="mpython_4_lines" id="krL.+/Cs3]d=dJ+YEZN%">
                <field name="mpython_4_lines">32</field>
              </shadow>
            </value>
            <value name="message">
              <shadow type="text">
                <field name="TEXT">Hello, world!</field>
              </shadow>
              <block type="text_join" id="3PG-(TO^6GH}Ru[#NOIx">
                <mutation items="1"></mutation>
                <value name="ADD0">
                  <block type="variables_get" id="grN#4p,K7]fUagMz$a-A">
                    <field name="VAR">_msg</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="mpython_display_Show" id="O)%R_QPXv0`GwySIjiGa">
                <next>
                  <block type="controls_if" id="b_O%OsV4.Xs/|aPfyhIN">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="_sswxnC]TG4`G)#/:8{r">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="BP!Sz3bF5)8p)D)r:7.I">
                            <field name="VAR">_msg</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="UDM;zmY96hFPpsG|r:k[">
                            <field name="TEXT">on</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="mpython_set_rgb_list_color" id="FV#{~Q^l:0t]_yn^^A8S">
                        <field name="COLOUR">#ff0000</field>
                        <value name="num">
                          <shadow type="mpython_rgb_list" id="9%YgNrhDpQ~InxOw-m`v">
                            <field name="rgb_list">-1</field>
                          </shadow>
                        </value>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_compare" id="%YcUv@zMDx+wCDqil(N5">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="9?p_(hGf|QK5Bl[5#X[u">
                            <field name="VAR">_msg</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="zWm7u.%na3v(#:w;^y)w">
                            <field name="TEXT">off</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="mpython_off_rgb_list" id="xWy$u#Z[=h:uL%[7P2dg">
                        <value name="num">
                          <shadow type="mpython_rgb_list" id="`oqQ7/TSI*GyOvi1!N4c">
                            <field name="rgb_list">-1</field>
                          </shadow>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>