1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/hejinlv-ESP32_PHP_MYSQL

Клонировать/Скачать
ESP32.xml 9.8 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
吕合金 Отправлено 03.03.2020 09:49 b7bad3c
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="variables_set" id="ZXTS:eXF:]y]6F~)!R:6" x="-44" y="-266">
<field name="VAR">num</field>
<value name="VALUE">
<shadow type="math_number" id="$`pS|j83B!BtpxrcvV^j">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="mpython_init_wifi" id="3v:+X1+}s2|LXe5mLwfW">
<value name="ssid">
<shadow type="text" id=",=NBK(ah/mk:3,Euy6`1">
<field name="TEXT">CMCC-GoodMaker</field>
</shadow>
</value>
<value name="password">
<shadow type="text" id="pKW#+D~(#x%9.B0]kOx7">
<field name="TEXT">steam666</field>
</shadow>
</value>
<next>
<block type="controls_if" id="L.eE@_/KsoBuATs~8rG$">
<mutation else="1"></mutation>
<value name="IF0">
<block type="mpython_wifi_isconnected" id="w9NgQe7J^Gaw:F;syX+Z"></block>
</value>
<statement name="DO0">
<block type="mpython_display_fill" id="F2];kC=(DK7/|opLvh`}">
<field name="display_fill">fill(0)</field>
<next>
<block type="mpython_display_DispChar_5lines" id="pI=B+uM_%zc@ydKQ^N.g">
<field name="TEXTMODE">1</field>
<value name="DispChar_5lines">
<shadow type="mpython_4_lines" id="y[]oRgK_}B]P0{{zqPB;">
<field name="mpython_4_lines">0</field>
</shadow>
</value>
<value name="message">
<shadow type="text" id="1J.Qrv!3*z7;/GoJt;Dp">
<field name="TEXT">连接成功</field>
</shadow>
</value>
<next>
<block type="mpython_display_DispChar_5lines" id="~6(J[2u06=0R`C|yiz;n">
<field name="TEXTMODE">1</field>
<value name="DispChar_5lines">
<shadow type="mpython_4_lines" id="VeMxwNkWxsADrP6_$IM0">
<field name="mpython_4_lines">16</field>
</shadow>
</value>
<value name="message">
<shadow type="text" id="mcE.5+O=`[`bmQrWXMww">
<field name="TEXT">Hello, world!</field>
</shadow>
<block type="text_join" id="3G5gWAIqlJ5]VTF])(S?">
<mutation items="1"></mutation>
<value name="ADD0">
<block type="mpython_WiFi_config" id="ukP_V~#ai6zvb-AoIi/t">
<field name="WiFi_config">0</field>
</block>
</value>
</block>
</value>
<next>
<block type="mpython_display_Show" id="OiG[|uT^B[F$[jFTOuNc"></block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<statement name="ELSE">
<block type="mpython_display_fill" id="BUT.HAy!7w-C-VF--p,{">
<field name="display_fill">fill(0)</field>
<next>
<block type="mpython_display_DispChar_5lines" id="QOi(T3Wt3j8YL{*5@kzF">
<field name="TEXTMODE">1</field>
<value name="DispChar_5lines">
<shadow type="mpython_4_lines" id="*?mG|kY87ZkVCe+61VOv">
<field name="mpython_4_lines">0</field>
</shadow>
</value>
<value name="message">
<shadow type="text" id="kWH#n`=8zn5:^;y~hxXD">
<field name="TEXT">连接失败</field>
</shadow>
</value>
<next>
<block type="mpython_display_Show" id="]E#`9k8OXZ!V?~R2nPpO"></block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="controls_repeat_forever" id="xlI0R#Eb/ct8$6)03a6,">
<statement name="DO">
<block type="mpython_urequests_get_post" id="lz$BvX=]xqFpM}hgh+GJ">
<field name="method">post</field>
<value name="url">
<shadow type="text" id="A1##:eR?;b(Jhvlm0.4D">
<field name="TEXT">http://192.168.1.6/post-esp-data.php/</field>
</shadow>
</value>
<value name="json">
<block type="dict_create_with_items_insert" id="sZY^EoiD!b8G./z9d8P!">
<mutation items="7"></mutation>
<field name="TIP">初始化字典</field>
<field name="KEY0">api_key</field>
<field name="KEY1">sensor</field>
<field name="KEY2">location</field>
<field name="KEY3">value1</field>
<field name="KEY4">value2</field>
<field name="KEY5">value3</field>
<field name="KEY6">id</field>
<value name="ADD0">
<block type="text" id="Sq`xg[HSNknU`Qa~jF$Z">
<field name="TEXT">tPmAT5Ab3j7F9</field>
</block>
</value>
<value name="ADD1">
<block type="text" id="8l*ez#{%]%};X+V4V#ky">
<field name="TEXT">Light</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="pRDV-QEX)DI,uhcp4u_9">
<field name="TEXT">Office</field>
</block>
</value>
<value name="ADD3">
<block type="text_join" id="QFVmR7mK1nQi%1o6M-$0">
<mutation items="1"></mutation>
<value name="ADD0">
<block type="mpython_read_light" id="%6{^1s!Alf)JMDc%JokC"></block>
</value>
</block>
</value>
<value name="ADD4">
<block type="text_join" id="GFbn|/)mZ`7i2)$1Aw@L">
<mutation items="1"></mutation>
<value name="ADD0">
<block type="mpython_read_sound" id="9dnasnOOjAw:{%y!/C|t"></block>
</value>
</block>
</value>
<value name="ADD5">
<block type="text" id="NOJyci^$!?r$!D/b)/s^">
<field name="TEXT">3</field>
</block>
</value>
<value name="ADD6">
<block type="text_join" id="ZI%y{_bFfYcB9N+r7,6#">
<mutation items="1"></mutation>
<value name="ADD0">
<block type="math_arithmetic" id="f_;q+$ob~:xr;3]0SatS">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number" id="rWsb#m]LW`w0lvtH*nm{">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="UCcy;;7sJg)V4[kIl#?`">
<field name="VAR">num</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="-5wdg[)*%_7kddbsyxPT">
<field name="NUM">1</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="text_print" id="?;B#j^oD~jTkL?3M*:m2">
<value name="TEXT">
<shadow type="text" id="3wX*mY@%*Km?B!wB#vCw">
<field name="TEXT"></field>
</shadow>
<block type="mpython_response" id="HXN?!i/f~pkOfo`iSubM">
<field name="response">text</field>
</block>
</value>
<next>
<block type="mpython_sleep_ms" id="ljA6/%(0wu{q_1)sKe@C">
<field name="ms_us">s</field>
<value name="duration">
<shadow type="math_number" id="!bE9f~E^5BvHT7sm~/$H">
<field name="NUM">3</field>
</shadow>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</xml>

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/hejinlv-ESP32_PHP_MYSQL.git
git@api.gitlife.ru:oschina-mirror/hejinlv-ESP32_PHP_MYSQL.git
oschina-mirror
hejinlv-ESP32_PHP_MYSQL
hejinlv-ESP32_PHP_MYSQL
master