1 Star 0 Fork 0

岭师人工智能素养教育共同体/Mind+Mixly双平台ESP32文本与背景以及图片云端响应

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Mixly ESP32E-阿里云文本上云测试代码.mix 10.54 KB
一键复制 编辑 原始数据 按行查看 历史
Admin 提交于 2022-09-30 17:29 . 更新代码
<xml version="Mixly 2.0 rc3" board="Arduino ESP32@ESP32 Dev Module"><block type="base_setup" id="$1?zuLUzAV*{~X?Of3oQ" x="-660" y="-452"><statement name="DO"><block type="serial_begin" id="P,C@hNTv*cxH?9;L;dQB"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="*~^X/73@p(KvmCyO!0oS"><field name="NUM">9600</field></shadow></value><next><block type="serial_print" id="DIJG$KOFi4Spq5=)FyGu"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="(SN-klk{Y~wG:EY5J]T?"><field name="TEXT">程序开始!</field></block></value><next><block type="WIFI_init" id="bVP+J38G#G,MpKqB3rPb"><value name="wifi_ssid"><shadow type="WIFI_init_yourSSID" id="h{B@mZcsaP+C1e-spKxn"><field name="yourSSID">LNSFAIoT</field></shadow></value><value name="wifi_password"><shadow type="WIFI_init_yourPASSWD" id="[LG3sV10~VXC`MTbG3aT"><field name="yourPASSWD">LNSFAIoT</field></shadow></value><next><block type="serial_print" id="6Z?l/C4.PvqmFq6QJI!E"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="^*3Tpb]w:rri*,td5HF_"><field name="TEXT">WiFi初始化成功!</field></block></value><next><block type="Aliyun_init" id="k:pl;kQ_y@1Ywo@7=~oG"><field name="ProductKey">hj06uL7wcD6</field><field name="DeviceName">farm</field><field name="DeviceSecret">8bf1522fe0a67968b9ba59db7c0ad856</field><field name="topic_0">/sys/hj06uL7wcD6/farm/thing/event/property/post</field><field name="topic_1"></field><field name="topic_2"></field><field name="topic_3"></field><field name="topic_4"></field><next><block type="serial_print" id="3t~(D?WXd{d$*!/zOp3Y"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="A7M=[EqA#@Upi8NY@$(,"><field name="TEXT">MQTT初始化成功!</field></block></value><next><block type="lists_create_with2" id="qQveR~.Rj$UIvcT$zLk["><mutation items="13"></mutation><field name="TYPE">String</field><field name="VAR">tips</field><value name="ADD0"><block type="text" id="0P|eh,xtr-Whv,Zc6JiC"><field name="TEXT">土壤ph值正常范围是小于4.5-大于9.5。pH在6.5~7.5之问的为中性上壤;6.5以下为酸性土壤;7.5以上为碱性土壤.</field></block></value><value name="ADD1"><block type="text" id="`ziV,=Rb3S,`AMN?i6]:"><field name="TEXT">酸性土壤质地疏松,透气透水性强;碱性土壤质地坚硬,容易板结成块,土壤容易板结。</field></block></value><value name="ADD2"><block type="text" id="t3m{{612jd_BT}=N,M?."><field name="TEXT">在pH值超过7.5或低于6时,磷酸和钙或铁、铝形成迟效态,使有效性降低。</field></block></value><value name="ADD3"><block type="text" id="L-Gh^OAVq`W9R~B`Lq@`"><field name="TEXT">钙、镁和钾在酸性土壤中易代换也易淋失。</field></block></value><value name="ADD4"><block type="text" id="9scG_tv?`4`P34uR*ZIR"><field name="TEXT">钙、镁在强碱性土壤中溶解度低,有效性降低。</field></block></value><value name="ADD5"><block type="text" id=":SkfFx?G{.p}zR,rx@aR"><field name="TEXT">硼、锰、铜等微量元素在碱性土壤中有效性大大降低</field></block></value><value name="ADD6"><block type="text" id="PHlL?@xR]+JTBwM2rn#3"><field name="TEXT">钼在强酸性土壤中与游离铁、铝生成的沉淀,可降低有效性。</field></block></value><value name="ADD7"><block type="text" id="##5@{g0G(OP?X4Ry*yc9"><field name="TEXT">强酸性土壤和强碱性土壤中H+和Na+较多,缺少Ca2+,难以形成良好的土壤结构,不利于作物生长。</field></block></value><value name="ADD8"><block type="text" id="_6iXAp{5qrv~K~X,!,Um"><field name="TEXT">土壤微生物一般最适宜的pH值是6.5-7.5之间的中性范围。过酸或过碱都会严重抑制土壤微生物的活动,从而影响氮素及其他养分的转化和供应。</field></block></value><value name="ADD9"><block type="text" id="}b/|fC`b27y1=f[H30!?"><field name="TEXT">柑桔、脐橙类盛花期日最高气温连续3天超过33℃,会造成高温伤花,花而不实;果实膨大期日平均气温≥30℃,日最高气温≥35℃,果面温度≥45℃会引起日灼。</field></block></value><value name="ADD10"><block type="text" id="^@OxsGA;_k3^oSQr0/]h"><field name="TEXT"> 热带地区植物生长,最适温度范围多在30~35 ℃</field></block></value><value name="ADD11"><block type="text" id="PUV(|QTGo:44o=+@9Sn1"><field name="TEXT">温带植物多在25~30 ℃,而寒带植物的最适温度,一般稍高于0 ℃。热带植物生长的最低温度在10~15℃,温带植物生长的最低温度在5~10℃。</field></block></value><value name="ADD12"><block type="text" id="xJXD58DfN~7I;^]550-]"><field name="TEXT">寒带植物在0℃,甚至低于零度,仍能生存。</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="Aliyun_publish" id="[*mYG._tx)EkIUK|Pgv." x="-649" y="634"><field name="topic1">topic_0</field><comment pinned="true" h="140" w="538">本测试代码在Mixly2.0 rc3版本和ESP32E测试通过,测试所用主控板为(此主控板同时支持Mind+和Mixly,具体用法见微信推文:https://mp.weixin.qq.com/s/eIozKfmCBo8Afp5QoorqWQ ):
https://item.taobao.com/item.htm?ft=t&amp;id=677654692365
其他Mixly版本和ESP32E主控板暂未测试。另请注意ESP32其他系列主控与ESP32E并不兼容,不保证其他主控适配本测试代码。</comment><value name="publish_data"><block type="Aliyun_keyvalue_wenb" id="ca(Jw;`e:~pSYh_0=UTk"><value name="aliyun_key"><block type="text" id="t;85CyRxRuklBYBkq3}i"><field name="TEXT">WeatherTips</field></block></value><value name="aliyun_value"><block type="listsGetValueByIndex" id="--tH2llogBH7MQB.^SXG"><field name="VAR">tips</field><value name="AT"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_random_int" id="LJH2f^mk`sjK~g.a?s/A"><value name="FROM"><shadow type="math_number" id="J$a~6{~d{[wU=g::~a`f"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number"><field name="NUM">100</field></shadow><block type="lists_length" id="SF^*qwvn3~yUeGq-VQiG"><field name="VAR">tips</field></block></value></block></value></block></value></block></value><next><block type="controls_delay" id="LDUyayxP@l3YurY`w*^Z"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="1g]/mNUBpA=$y-u:-hz^"><field name="NUM">1800000</field></shadow></value></block></next></block></xml><config>{"PSRAM":"disabled","PartitionScheme":"default","CPUFreq":"240","FlashMode":"qio","FlashFreq":"80","FlashSize":"4M","UploadSpeed":"921600","LoopCore":"1","EventsCore":"1"}</config><code>LyrnibnliKvpuKPosKIgREZSb2JvdOWboumYn+eahOaKgOacr+aUr+aMgSovCi8qKioqKgrmioDmnK/mlK/mjIHvvJrlhbPms6jlvq7kv6HlhazkvJflj7fjgJDkurrlt6Xmmbrog73ntKDlhbvmlZnogrLlhbHlkIzkvZPjgJEKKioqKioqLwojaW5jbHVkZSA8TE5TRl9BSW9UX01RVFQuaD4KTE5TRl9BSW9UX01RVFQgbG5zZmlvdDsKCmNvbnN0IFN0cmluZyB0b3BpY3NbNV0gPSB7Ii9zeXMvaGowNnVMN3djRDYvZmFybS90aGluZy9ldmVudC9wcm9wZXJ0eS9wb3N0IiwiIiwiIiwiIiwiIn07ClN0cmluZyB0aXBzW109eyLlnJ/lo6RwaOWAvOato+W4uOiMg+WbtOaYr+Wwj+S6jjQuNS3lpKfkuo45LjXjgIJwSOWcqDYuNX43LjXkuYvpl67nmoTkuLrkuK3mgKfkuIrlo6Q7Ni415Lul5LiL5Li66YW45oCn5Zyf5aOkOzcuNeS7peS4iuS4uueiseaAp+Wcn+WjpC4iLCAi6YW45oCn5Zyf5aOk6LSo5Zyw55aP5p2+77yM6YCP5rCU6YCP5rC05oCn5by677yb56Kx5oCn5Zyf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wogIFNlcmlhbC5wcmludGxuKCJXaUZp5Yid5aeL5YyW5oiQ5Yqf77yBIik7CiAgU2VyaWFsLnByaW50bG4oIk1RVFTliJ3lp4vljJbmiJDlip/vvIEiKTsKfQoKdm9pZCBsb29wKCl7CiAgLy8g5pys5rWL6K+V5Luj56CB5ZyoTWl4bHkyLjAgcmMz54mI5pys5ZKMRVNQMzJF5rWL6K+V6YCa6L+H77yM5rWL6K+V5omA55So5Li75o6n5p2/5Li677yI5q2k5Li75o6n5p2/5ZCM5pe25pSv5oyBTWluZCvlkoxNaXhsee+8jOWFt+S9k+eUqOazleingeW+ruS/oeaOqOaWh++8mmh0dHBzOi8vbXAud2VpeGluLnFxLmNvbS9zL2VJb3pLZm1DQm84QWZwNVFvb3JxV1Eg77yJ77yaCiAgLy8gaHR0cHM6Ly9pdGVtLnRhb2Jhby5jb20vaXRlbS5odG0/ZnQ9dCZpZD02Nzc2NTQ2OTIzNjUKICAvLyDlhbbku5ZNaXhseeeJiOacrOWSjEVTUDMyReS4u+aOp+adv+aaguacqua1i+ivleOAguWPpuivt+azqOaEj0VTUDMy5YW25LuW57O75YiX5Li75o6n5LiORVNQMzJF5bm25LiN5YW85a6577yM5LiN5L+d6K+B5YW25LuW5Li75o6n6YCC6YWN5pys5rWL6K+V5Luj56CB44CCCiAgbG5zZmlvdC5wdWJsaXNoKHRvcGljXzAsKCJ7XCJpZFwiOlwibG5zZmFpb3RcIixcInBhcmFtc1wiOntcIiIrU3RyaW5nKCJXZWF0aGVyVGlwcyIpKyJcIjpcIiIrdGlwc1tyYW5kb20oMSwgc2l6ZW9mKHRpcHMpL3NpemVvZih0aXBzWzBdKSldKyJcIiIrIn0sXCJtZXRob2RcIjpcInRoaW5nLmV2ZW50LnByb3BlcnR5LnBvc3RcIn0iKS5jX3N0cigpKTtkZWxheSgxODAwMDAwKTsKCn0=</code>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Arduino
1
https://gitee.com/LNSFAIoT/Mindplus-Mixly-ESP32-text-and-background-and-image-cloud-responsive.git
git@gitee.com:LNSFAIoT/Mindplus-Mixly-ESP32-text-and-background-and-image-cloud-responsive.git
LNSFAIoT
Mindplus-Mixly-ESP32-text-and-background-and-image-cloud-responsive
Mind+Mixly双平台ESP32文本与背景以及图片云端响应
master

搜索帮助