1 line
3.9 KiB
XML
1 line
3.9 KiB
XML
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="}TdQ~3R.MECSsGHEAnpa" x="0" y="0"><statement name="DO"><block type="controls_attachInterrupt" id="xKQNHd7i4G}rWea=:U3!"><field name="mode">RISING</field><value name="PIN"><shadow type="pins_interrupt" id="E$8=9TpgDEs;xih,uEH3"><field name="PIN">2</field></shadow></value><statement name="DO"><block type="inout_digital_write2" id="y+{R2oWc^gALgOB3T/M|"><value name="PIN"><shadow type="pins_digital" id="9KZI60Ty+b4cW+HqCA*S"><field name="PIN">10</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="UmJzGpb|)!1mA]E0MYWQ"><field name="BOOL">LOW</field></shadow></value></block></statement></block></statement></block><block type="controls_if" id="u!h2NlGE~,;.-y*XIeD=" x="0" y="154"><value name="IF0"><block type="logic_negate" id="-[1.NwjOT;vB3{OT.|/9"><value name="BOOL"><block type="inout_digital_read2" id="MSfROVNo$QsPVbiDaacs"><value name="PIN"><shadow type="pins_digital" id="p%ybTU^zAg^;5XBr%mYs"><field name="PIN">4</field></shadow></value></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="WC~iqqkeg+p-eqmMcQ4P"><value name="PIN"><shadow type="pins_digital" id="o[UPgI=e4yYN|OjAQ-)_"><field name="PIN">10</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="$I-JT)#`ASfj;jZfb!N_"><field name="BOOL">HIGH</field></shadow></value><next><block type="controls_whileUntil" id="!gu#~/JhUH!Tu+v6#a{/"><field name="MODE">WHILE</field><value name="BOOL"><block type="inout_digital_read2" id="Y3$]O/mt``D1JR{e^3$W"><value name="PIN"><shadow type="pins_digital" id="Q.8=5LV:##|/iwDX`PE("><field name="PIN">10</field></shadow></value></block></value><statement name="DO"><block type="controls_for" id="5Ik/Yv+u31AN!!G1UfZ`"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="LMYHEW9!{ZX5^Q5yxJ|!"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="|1+,bwO@~S`*t(0wKHSz"><field name="NUM">180</field></shadow></value><value name="STEP"><shadow type="math_number" id="hMP*j(N~K5MEaJaCAMqV"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="controls_tone" id="umr-IJ$[C(von*FSW#qO" inline="false"><value name="PIN"><shadow type="pins_digital" id="#;Ld6{C^HPaLGPUIK0(-"><field name="PIN">8</field></shadow></value><value name="FREQUENCY"><shadow xmlns="http://www.w3.org/1999/xhtml" type="tone_notes" id="2+NteE~edEVSA6S#3d@%"><field name="STAT">131</field></shadow><block type="math_arithmetic" id=";ng$tZSfnY|Tx1|?5gj+"><field name="OP">ADD</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="yPv{Ms[rIavX5((jS0jp"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="]SNHJ*oJYh2z!`-YSDnW"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="tM6NxbzNtkI|~},{M,gn"><field name="NUM">1</field></shadow><block type="math_trig" id="Zv+lXmy0%R3#I:|11Roe"><field name="OP">SIN</field><value name="NUM"><block type="variables_get" id=".`gnb-sJcq`qPweyC|8G"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow type="math_number" id="^I-U{ag1h{y^OitPUpFX"><field name="NUM">1000</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="k%[#,8v]OT.]z]0G{Fw:"><field name="NUM">2000</field></shadow></value></block></value><next><block type="base_delay" id="Gh?d#Ok,D)rIK7c;_[If"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="}YWb0^XG`8!5*KXsmt(-"><field name="NUM">10</field></shadow></value></block></next></block></statement><next><block type="controls_notone" id="sXtM9Z~wG4^=T+gVQ(H4"><value name="PIN"><shadow type="pins_digital" id="7I;JFARpC~@9/Pj.Y9ju"><field name="PIN">8</field></shadow></value></block></next></block></statement></block></next></block></statement></block></xml> |