1 line
4.9 KiB
XML
1 line
4.9 KiB
XML
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino Nano w/ ATmega328P (old bootloader)" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="EgaFDz{9!I4qgZa+{4$p" x="-36" y="-78"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field></block><block type="base_setup" id="@//N7:)Y1`rFr3P0g1@U" x="-30" y="-28"><statement name="DO"><block type="variables_declare" id="r%9iI-9`P]J(Ck*~-#Fe"><field name="variables_type">global_variate</field><field name="VAR">按下时刻</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="{7}Mp!vlgIO#1MQHMjor"><field name="NUM">0</field></block></value><next><block type="variables_declare" id="%FVu2@2[AW|dry/+Bywp"><field name="variables_type">global_variate</field><field name="VAR">state</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="Kh:{;HW2H*nB%R[pXS/m"><field name="NUM">0</field></block></value></block></next></block></statement></block><block type="controls_if" id=".w/%eip;S?UFx]S,M3R[" x="-30" y="77"><value name="IF0"><block type="inout_digital_read2" id="cBh*ablSzzLpfPhGx_]^"><value name="PIN"><shadow type="pins_digital" id="%g?O=3#}+I(xB2gJwqc:"><field name="PIN">10</field></shadow></value></block></value><statement name="DO0"><block type="controls_whileUntil" id="F#NDfSqwc*{I19ZPPPE{"><field name="MODE">WHILE</field><value name="BOOL"><shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="EU#8{Vj)tqovL.v+!*||"><field name="BOOL">TRUE</field></shadow><block type="inout_digital_read2" id="3%xl+~2G@*0#g!`n|#kh"><value name="PIN"><shadow type="pins_digital" id="H.P-H4[vi1F/l}EN^PJj"><field name="PIN">10</field></shadow></value></block></value><statement name="DO"><block type="controls_delay" id="_cD`_f=Cm9Qk`--/Wi45"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="Nr,jm31#:wMR-Q}t,MSn"><field name="NUM">10</field></shadow></value></block></statement><next><block type="controls_if" id="q]X+ULT5#!x/Sz?/a-Zt"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id="{2Y~s)A)*fggRrrU+AxN"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="r12:Cm0/z9o{WR1n$Xjz"><field name="VAR">state</field></block></value><value name="B"><block type="math_number" id="jP}8_ws@*vjs!LsK%MLt"><field name="NUM">0</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="WX=QmaH)/0[Q#Vw1WQ%D"><field name="VAR">按下时刻</field><value name="VALUE"><block type="controls_millis" id="#Uw:nfd))[D}4cG7fo@]"><field name="UNIT">millis</field></block></value><next><block type="inout_digital_write2" id="^|y(seELGL+_4afS4(N/"><value name="PIN"><shadow type="pins_digital" id="Ws2r{43B(m|DZ?sE[M0~"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="WQo8@Giu=Dl*+!^Jgb@?"><field name="BOOL">HIGH</field></shadow></value><next><block type="variables_set" id="Zydu:?$QyExtdQ-v|C_E"><field name="VAR">state</field><value name="VALUE"><block type="math_number" id="GJ[16~pO5o/g*.RzG`}L"><field name="NUM">1</field></block></value></block></next></block></next></block></statement><statement name="ELSE"><block type="serial_println" id="u7=uofMFekHpcV?3vCLw"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join" id=")mXXX3G4yHqlgsw}p!v!"><value name="A"><shadow type="text" id="Ve_(ECV=*XY{oEQ{s0)."><field name="TEXT">time:</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="M~e**865-o^WSQSch71W"><field name="TEXT">Mixly</field></shadow><block type="math_arithmetic" id="8EfbXv`2lbYR/QF`BR8E"><field name="OP">MINUS</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="H`z8H2oQBbMz?8tM~t8m"><field name="NUM">1</field></shadow><block type="controls_millis" id="Ha4Uk7G^OU6SZ/X,+/WF"><field name="UNIT">millis</field></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="IwBD;2eLA0zN[o--vcA`"><field name="NUM">1</field></shadow><block type="variables_get" id="F:z`iw5.gq*W{cc,=~am"><field name="VAR">按下时刻</field></block></value></block></value></block></value><next><block type="inout_digital_write2" id="UMA530@T2TwEU1t%@./I"><value name="PIN"><shadow type="pins_digital" id="[dre)ZzZvtZk`#oiQz8v"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="8NUPJAZ}1lva43sZ?j]Q"><field name="BOOL">LOW</field></shadow></value><next><block type="variables_set" id="~dp3nD*@L`(0+w=Zz@,k"><field name="VAR">state</field><value name="VALUE"><block type="math_number" id="R)V$vtwX(Qd/XgoB/q=y"><field name="NUM">0</field></block></value></block></next></block></next></block></statement></block></next></block></statement></block></xml> |