1 line
3.3 KiB
XML
1 line
3.3 KiB
XML
<xml version="Mixly 2.0 Beta11" board="MixGo AI" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_block_notes" id="@^vH@RuOJ=^BB0}!U^oD" x="122" y="184"><field name="VALUE">Irremote 红外接收_遥控控制灯亮灭</field><next><block type="inout_digital_init" id="X`JcJ8^-1nTe3~IX}9FJ"><field name="MODE">GPIO.OUT</field><value name="PIN"><shadow type="pins_digital_pin" id="I#@KDQ![W#@8*wlBc#1d"><field name="PIN">13</field></shadow></value><next><block type="variables_set" id="Q?F+w)El9^r8ln{/Zri0"><field name="VAR">num</field><value name="VALUE"><block type="math_number" id="CJ?vvQu8t4mjuBI]q#sT"><field name="NUM">0</field></block></value><next><block type="controls_whileUntil" id="c;6(.L{2#lHl0XtWxKMv"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="LwUd{a(Q!K73WTwAzfV~"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="rLnjc6Lr^a0l4jNhMdut"><field name="VAR">data</field><value name="VALUE"><block type="communicate_ir_recv" id="K:_3S0e];.1`_Vg4K1fs"><value name="PIN"><shadow type="pins_digital_pin" id="j#`(U#?V~Kd9wWqHD2gO"><field name="PIN">2</field></shadow></value></block></value><next><block type="controls_if" id="hOH^++FLoTP:~6I_Bo|3"><value name="IF0"><block type="logic_compare" id="g6rl5g[U3,%R32BLX,Bv"><field name="OP">NEQ</field><value name="A"><block type="variables_get" id="#d|F_;8BlNYZy,O^R-GS"><field name="VAR">data</field></block></value><value name="B"><block type="logic_null" id="2RvrD]6-t$U1y!@um|;^"></block></value></block></value><statement name="DO0"><block type="system_print" id="C$v5aS@0=;w++iI6O,Z+"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="wr[P/xJkk5djN{3DLiAQ"><field name="TEXT">Mixly</field></shadow><block type="variables_get" id="UN-+@N.zzb]fNVU(Wf!e"><field name="VAR">data</field></block></value><next><block type="variables_set" id="qEYEO^~L0d9(Cja*cgB/"><field name="VAR">num</field><value name="VALUE"><block type="variables_get" id="*zQTae.OS[;_4qz[qDFT"><field name="VAR">data</field></block></value></block></next></block></statement><next><block type="controls_if" id="I4mt`$=FYTPy-}I{V@sZ"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id="6N.qdI4P#hzSGQm$e,.n"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="JO+fwgT)2QF=)-EM5wb]"><field name="VAR">num</field></block></value><value name="B"><block type="math_number" id="F2n$m37gy6!F06ipO^*U"><field name="NUM">41565</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write" id="`mbT[u(z~-qVDTaE3pWL"><value name="PIN"><shadow type="pins_digital_pin" id="QdDLt]XMMmo5+#6`I~B/"><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="Ncpq!dnh$#JV8!JsoATj"><field name="BOOL">HIGH</field></shadow></value></block></statement><statement name="ELSE"><block type="inout_digital_write" id="fCIKBu[k:?j3M[=Of/OJ"><value name="PIN"><shadow type="pins_digital_pin" id="o~7KL3{*whSF_E-Q=m@4"><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="nwcFx9r4uAchBoGwaI]j"><field name="BOOL">LOW</field></shadow></value></block></statement></block></next></block></next></block></statement></block></next></block></next></block></next></block></xml> |