1 line
6.3 KiB
XML
1 line
6.3 KiB
XML
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="~tk9wP@@c$OR:dls^^CN" x="-5" y="-6"><field name="VALUE">D2-D8接7个按钮\n按下不同的铵钮,播放对应的音调</field><next><block type="lists_create_with_text2" id="w73}^;DltZrR`T;%0mEK"><field name="TYPE">float</field><field name="VAR">tonelist</field><field name="SIZE">7</field><field name="TEXT">1046.5,1174.7,1318.5,1396.9,1568,1760,1975.5</field><next><block type="controls_if" id="p3GNa`e-Z9ii}d%KUNMn" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="6" else="1"></mutation><value name="IF0"><block type="inout_digital_read2" id="HOWiYYoyc1u[/?lE!l3w"><value name="PIN"><shadow type="pins_digital" id="@+8]w2lcBy*f5aA?UaqN"><field name="PIN">2</field></shadow></value></block></value><statement name="DO0"><block type="controls_tone" id="*Z^ZbtT9IHzcLO{G`u+n"><value name="PIN"><shadow type="pins_digital" id="DrolIgt?DvwHcR_X[/(7"><field name="PIN">12</field></shadow></value><value name="FREQUENCY"><shadow xmlns="http://www.w3.org/1999/xhtml" type="tone_notes" id="l%%Zyl;{9fASrjmp|9L3"><field name="STAT">131</field></shadow><block type="lists_getIndex" id="QV.77{|D!pgg;(*V9B^S"><field name="VAR">tonelist</field><value name="AT"><shadow type="math_number" id="pKX6/23h]yKCU@3L+HGZ"><field name="NUM">1</field></shadow></value></block></value></block></statement><value name="IF1"><block type="inout_digital_read2" id="Pu)d@WPSj17A:dT?9,X;"><value name="PIN"><shadow type="pins_digital" id="mP5-Ec]H#=%!dYMrFlhe"><field name="PIN">3</field></shadow></value></block></value><statement name="DO1"><block type="controls_tone" id="a.w@W*/GVx]YQf`d7[rA"><value name="PIN"><shadow type="pins_digital" id="KFI4D-zTY)Hk=ur)FVoo"><field name="PIN">12</field></shadow></value><value name="FREQUENCY"><shadow xmlns="http://www.w3.org/1999/xhtml" type="tone_notes" id="l%%Zyl;{9fASrjmp|9L3"><field name="STAT">131</field></shadow><block type="lists_getIndex" id="*9(r/(}Q=jbT92A4àX"><field name="VAR">tonelist</field><value name="AT"><shadow type="math_number" id="~A/bo|i)ICg8m3]ac_)z"><field name="NUM">2</field></shadow></value></block></value></block></statement><value name="IF2"><block type="inout_digital_read2" id="O]6Im)]W]x2^e3}|8U4N"><value name="PIN"><shadow type="pins_digital" id="28^XT4D!j)M[(s-.Zded"><field name="PIN">4</field></shadow></value></block></value><statement name="DO2"><block type="controls_tone" id="B:_3*@34g@r_yIAT|Ago"><value name="PIN"><shadow type="pins_digital" id="lY}leMdgWI_CGJ.xf^C="><field name="PIN">12</field></shadow></value><value name="FREQUENCY"><shadow xmlns="http://www.w3.org/1999/xhtml" type="tone_notes" id="l%%Zyl;{9fASrjmp|9L3"><field name="STAT">131</field></shadow><block type="lists_getIndex" id="0k;vJR`TpX/sS1cY:R%5"><field name="VAR">tonelist</field><value name="AT"><shadow type="math_number" id="x!cggO,F1u88_wm02Gfc"><field name="NUM">3</field></shadow></value></block></value></block></statement><value name="IF3"><block type="inout_digital_read2" id="1-)lNcp),BcLC*+2bat;"><value name="PIN"><shadow type="pins_digital" id="Yv.5KGOzs!GjQ:)W_CYI"><field name="PIN">5</field></shadow></value></block></value><statement name="DO3"><block type="controls_tone" id="h1#eJVh4(Wyh*(RG95Zw"><value name="PIN"><shadow type="pins_digital" id="k._9pn1x%Nz8Pc33?g^O"><field name="PIN">12</field></shadow></value><value name="FREQUENCY"><shadow xmlns="http://www.w3.org/1999/xhtml" type="tone_notes" id="l%%Zyl;{9fASrjmp|9L3"><field name="STAT">131</field></shadow><block type="lists_getIndex" id="#4%m5Qg(=hrz5{])(vEu"><field name="VAR">tonelist</field><value name="AT"><shadow type="math_number" id="d^gYT`3UF_n-*l^gg4e."><field name="NUM">4</field></shadow></value></block></value></block></statement><value name="IF4"><block type="inout_digital_read2" id="LlM..6p),d4m7NDn.8MC"><value name="PIN"><shadow type="pins_digital" id="/g*H-t{mhu(*@}Mf4]:h"><field name="PIN">6</field></shadow></value></block></value><statement name="DO4"><block type="controls_tone" id="Dc1`CH7H;y}Z3}NhoJLd"><value name="PIN"><shadow type="pins_digital" id="]Sa+k2!3YL-2.3fTFQTJ"><field name="PIN">12</field></shadow></value><value name="FREQUENCY"><shadow xmlns="http://www.w3.org/1999/xhtml" type="tone_notes" id="l%%Zyl;{9fASrjmp|9L3"><field name="STAT">131</field></shadow><block type="lists_getIndex" id="O-m/XRrk#0zSb+GTIHhD"><field name="VAR">tonelist</field><value name="AT"><shadow type="math_number" id="4o{[ML{)(4r~7Ixb(è"><field name="NUM">5</field></shadow></value></block></value></block></statement><value name="IF5"><block type="inout_digital_read2" id="^!ch)8%n8d.EoHhKdB^-"><value name="PIN"><shadow type="pins_digital" id="od}rt7;vrDN#z3QI/BWM"><field name="PIN">7</field></shadow></value></block></value><statement name="DO5"><block type="controls_tone" id="9rwl8v0w#ZO2:Q;qw"><value name="PIN"><shadow type="pins_digital" id="_7Bj=1(yi4%t4[GwxCJo"><field name="PIN">12</field></shadow></value><value name="FREQUENCY"><shadow xmlns="http://www.w3.org/1999/xhtml" type="tone_notes" id="l%%Zyl;{9fASrjmp|9L3"><field name="STAT">131</field></shadow><block type="lists_getIndex" id="(Pbj,T963FjxXf0F9rGP"><field name="VAR">tonelist</field><value name="AT"><shadow type="math_number" id="[MX)wU)!f79s1?I%VPYv"><field name="NUM">6</field></shadow></value></block></value></block></statement><value name="IF6"><block type="inout_digital_read2" id="wCS%uW?Hp:d!dG@J6e)t"><value name="PIN"><shadow type="pins_digital" id="r]z@Ngyqc*l^@lfA6FZh"><field name="PIN">8</field></shadow></value></block></value><statement name="DO6"><block type="controls_tone" id="Ymjq/So)+;7HEO%M,Olo"><value name="PIN"><shadow type="pins_digital" id=")86WJ!jWQxeW%-tO`%B."><field name="PIN">12</field></shadow></value><value name="FREQUENCY"><shadow xmlns="http://www.w3.org/1999/xhtml" type="tone_notes" id="l%%Zyl;{9fASrjmp|9L3"><field name="STAT">131</field></shadow><block type="lists_getIndex" id="l8w.fX3u+U?oW.O=a-nf"><field name="VAR">tonelist</field><value name="AT"><shadow type="math_number" id="qo=Qin:JK2p23CO4g|eG"><field name="NUM">7</field></shadow></value></block></value></block></statement><statement name="ELSE"><block type="controls_notone" id="M/pfRbJO0!w%R],r9g?P"><value name="PIN"><shadow type="pins_digital" id="(.U:u4XzuO:L_tw4vf%N"><field name="PIN">12</field></shadow></value></block></statement></block></next></block></next></block></xml> |