1 Star 0 Fork 1

FISH-O/arduino_mixly

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
20210123-1期3+4课-LED+按键+光敏.mix 5.48 KB
一键复制 编辑 原始数据 按行查看 历史
liuliang 提交于 2021-01-30 09:56 . 添加文件
<xml version=\"0.997\" board=\"Arduino/Genuino Uno\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"base_setup\" id=\"1131Gv7SF-_}8Vw!i/[2\" x=\"-23\" y=\"-31\"><statement name=\"DO\"><block type=\"inout_pinMode\" id=\"3QlSQrJc@9l,BWnDeNV3\"><field name=\"MODE\">OUTPUT</field><comment pinned=\"false\" h=\"80\" w=\"160\">5\u53F7LED\u7BA1\u811A</comment><value name=\"PIN\"><shadow type=\"pins_digital\" id=\"WP.=~]9FDQh;)69Aw_pv\"><field name=\"PIN\">5</field></shadow></value><next><block type=\"inout_pinMode\" id=\"VSO$hXq]CIuf*SuC0:@t\"><field name=\"MODE\">OUTPUT</field><comment pinned=\"false\" h=\"80\" w=\"160\">6\u53F7LED\u7BA1\u811A</comment><value name=\"PIN\"><shadow type=\"pins_digital\" id=\",6%!*}Q-lNc.1eXyxAFM\"><field name=\"PIN\">6</field></shadow></value><next><block type=\"inout_pinMode\" id=\"|hv{3}h@B}sxNihqx[;C\"><field name=\"MODE\">INPUT</field><comment pinned=\"false\" h=\"80\" w=\"160\">7\u53F7 \u6309\u952E \u7BA1\u811A\uFF0C\u8BBE\u7F6E\u8F93\u5165\u6A21\u5F0F</comment><value name=\"PIN\"><shadow type=\"pins_digital\" id=\"9kH(r-P7c?^:@3}@v@[=\"><field name=\"PIN\">7</field></shadow></value><next><block type=\"inout_pinMode\" id=\"S?7;alI}Zdln*J~FK_y`\"><field name=\"MODE\">INPUT</field><comment pinned=\"false\" h=\"80\" w=\"160\">4\u53F7\u5149\u654F\u6A21\u5757</comment><value name=\"PIN\"><shadow type=\"pins_digital\" id=\"S.=-pVygjiK*^|G[hh#b\"><field name=\"PIN\">4</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type=\"controls_if\" id=\"Lx+X`/s;YNK~5po4l}!K\" x=\"198\" y=\"146\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_operation\" id=\"zt}.f4])!yR9cm_[]WF9\"><field name=\"OP\">OR</field><value name=\"A\"><block type=\"logic_compare\" id=\"%VtJT6D_/29OWhag89du\"><field name=\"OP\">EQ</field><comment pinned=\"false\" h=\"80\" w=\"160\">\u5982\u679C 7\u53F7 \u6309\u952E\u6309\u4E0B\n\u6309\u4E0B\u4E3A 0</comment><value name=\"A\"><block type=\"inout_digital_read2\" id=\"SFAt@j`C;523C/I])q0l\"><value name=\"PIN\"><shadow type=\"pins_digital\" id=\"([X;c;~RLS;#i7E,?i5O\"><field name=\"PIN\">7</field></shadow></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"W~d]wQJQ2!%w,g-[#5~?\"><field name=\"NUM\">0</field></block></value></block></value><value name=\"B\"><block type=\"logic_compare\" id=\"eV%w(%P;A^.nT$,CAWR!\"><field name=\"OP\">EQ</field><comment pinned=\"false\" h=\"80\" w=\"160\">4\u53F7\u5149\u654F\u6A21\u5757\u89E6\u53D1 \u9ED1\u6697\u7684\u5730\u65B9\u8F93\u51FA1</comment><value name=\"A\"><block type=\"inout_digital_read2\" id=\"7#$aI)djb1?d7Tuhc$/6\"><value name=\"PIN\"><shadow type=\"pins_digital\" id=\"0dGLV3C[p6iG-3lnJv:.\"><field name=\"PIN\">4</field></shadow></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"d__a?P3dfOl1w=dPkR~b\"><field name=\"NUM\">1</field></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"inout_digital_write2\" id=\"Izf8tFsQS]4inlDz{$nJ\"><comment pinned=\"false\" h=\"80\" w=\"160\">\u70B9\u4EAE5\u53F7\u7BA1\u811ALED</comment><value name=\"PIN\"><shadow type=\"pins_digital\" id=\"#X=T*d9Y`L$/}nqK)#{R\"><field name=\"PIN\">5</field></shadow></value><value name=\"STAT\"><shadow type=\"inout_highlow\" id=\"-AW_w_{7R`CO2.B/l$uC\"><field name=\"BOOL\">HIGH</field></shadow></value><next><block type=\"inout_digital_write2\" id=\"D2NkKrs]1=WzWG.;Se~3\"><value name=\"PIN\"><shadow type=\"pins_digital\" id=\"o1PXgg3X*8ZC?M62~n%`\"><field name=\"PIN\">6</field></shadow></value><value name=\"STAT\"><shadow type=\"inout_highlow\" id=\"YyIR~phIG.DRvO=6fS|R\"><field name=\"BOOL\">HIGH</field></shadow></value><next><block type=\"base_delay\" id=\"ZCHIJ/#4ZI!;30OyL!;P\"><field name=\"UNIT\">delay</field><value name=\"DELAY_TIME\"><shadow type=\"math_number\" id=\"vbleiW;P)F$mJMz$XE?|\"><field name=\"NUM\">1000</field></shadow></value><next><block type=\"inout_digital_write2\" id=\"f{AA=P7t:K8JAGAC,1sL\"><value name=\"PIN\"><shadow type=\"pins_digital\" id=\"43o`{Sq~3pdU=J:#${u)\"><field name=\"PIN\">5</field></shadow></value><value name=\"STAT\"><shadow type=\"inout_highlow\" id=\"ADrgRY,eR_$DZ.Kw+;!?\"><field name=\"BOOL\">LOW</field></shadow></value><next><block type=\"inout_digital_write2\" id=\"^_xGn9@Q_,Jar75gmsU5\"><value name=\"PIN\"><shadow type=\"pins_digital\" id=\"Dp2ma|jKg_?hrg6I~uv$\"><field name=\"PIN\">6</field></shadow></value><value name=\"STAT\"><shadow type=\"inout_highlow\" id=\"7D6@qGZf+hP(Dx@!gxOU\"><field name=\"BOOL\">LOW</field></shadow></value><next><block type=\"base_delay\" id=\"/%au%jOth{HoaXKI/{qp\"><field name=\"UNIT\">delay</field><value name=\"DELAY_TIME\"><shadow type=\"math_number\" id=\"{XJ(GV$UVqf,u%h6hw6~\"><field name=\"NUM\">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"inout_digital_write2\" id=\"E:VAs1aJ]L@ah{zM?g@l\"><value name=\"PIN\"><shadow type=\"pins_digital\" id=\"J8;]38y:]$[b]6B4,h5x\"><field name=\"PIN\">5</field></shadow></value><value name=\"STAT\"><shadow type=\"inout_highlow\" id=\"@tN@b8%r=?(=s+X^s/.]\"><field name=\"BOOL\">LOW</field></shadow></value><next><block type=\"inout_digital_write2\" id=\"+4M?=H{W{hntC=5eyQ9B\"><value name=\"PIN\"><shadow type=\"pins_digital\" id=\"6sY=oOVAR+:YepJ1ZZp)\"><field name=\"PIN\">6</field></shadow></value><value name=\"STAT\"><shadow type=\"inout_highlow\" id=\"_*NRGuC#L$z#voxCV^(:\"><field name=\"BOOL\">LOW</field></shadow></value></block></next></block></statement></block></xml>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Arduino
1
https://gitee.com/fishfly1/arduino_mixly.git
git@gitee.com:fishfly1/arduino_mixly.git
fishfly1
arduino_mixly
arduino_mixly
master

搜索帮助