Files
mixly3/boards/default/arduino_avr/examples/hxkgUtFfM9ze/_4K2GuxxmboD/2hRESZBL-jLw.mix
2024-07-21 09:30:11 +08:00

1 line
6.4 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="base_setup" id="^13Vw|i*?F$k1o[rk++Z" x="0" y="0"><statement name="DO"><block type="variables_declare" id="WB.%whmD}QBgaUiKvlri"><field name="variables_type">global_variate</field><field name="VAR">flag</field><field name="TYPE">boolean</field><value name="VALUE"><block type="logic_boolean" id="DPdWMylJrUmy]CB6#|j0"><field name="BOOL">TRUE</field></block></value><next><block type="controls_attachPinInterrupt" id="m$@xh:*`7%/~XT(e=`+l"><field name="mode">RISING</field><value name="PIN"><shadow type="pins_digital" id="7N[X[{IF$@Z$s.agH.#p"><field name="PIN">5</field></shadow></value><statement name="DO"><block type="controls_if" id="i;Mk;XD3/3s2eh.-C;,N"><value name="IF0"><block type="logic_operation" id="xw@vv=oEyiwQ7+@_;reb"><field name="OP">AND</field><value name="A"><block type="inout_digital_read2" id="o~={cNp+z9#BgIfIF@~n"><value name="PIN"><shadow type="pins_digital" id="kH^]5()913_o)?N{*kvI"><field name="PIN">8</field></shadow></value></block></value><value name="B"><block type="variables_get" id="FzBkeq)78O2IsxEhf,sT"><field name="VAR">flag</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="=$mgY3inZ37`L3RY,sGA"><value name="PIN"><shadow type="pins_digital" id="M59V[Z@FuvEp81S#|LG1"><field name="PIN">2</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="D!1NT+%Bz{YC#,=FX1F/"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="9yw$nl*P-34W4WV7]oj`"><value name="PIN"><shadow type="pins_digital" id="^.#ZicK(!%BxtQ^kZ%9d"><field name="PIN">4</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="wepLOU9c$%0U5Mz4X(Vo"><field name="BOOL">LOW</field></shadow></value><next><block type="controls_tone_noTimer" id="0Mlt~GB9$}$qax:{oonq"><value name="PIN"><shadow type="pins_digital" id="6(.nd#Egssi)i0qoJ^vp"><field name="PIN">12</field></shadow></value><value name="FREQUENCY"><shadow type="tone_notes" id="QI)|%YE|xgFv!k9T=@~("><field name="STAT">131</field></shadow></value><value name="DURATION"><shadow type="math_number" id="VOxSbgV15Vz-GegaQx8X"><field name="NUM">3000</field></shadow></value><next><block type="variables_set" id="?;R=4#IY9GX,=.T`y@oy"><field name="VAR">flag</field><value name="VALUE"><block type="logic_boolean" id=".i*~yrN#2!_or_:s|fsh"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></statement></block></statement></block></next></block></statement></block><block type="controls_if" id="lR}[.wH8B(CMCeUCP?#b" x="0" y="341"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="1" else="1"></mutation><value name="IF0"><block type="logic_operation" id="eKl.r^OfI6)SPQGuYho~"><field name="OP">AND</field><value name="A"><block type="inout_digital_read2" id="m:fo$]DV,5B~|RI8!Vy+"><value name="PIN"><shadow type="pins_digital" id="[ggj..{dPQbxgn(5:JF:"><field name="PIN">8</field></shadow></value></block></value><value name="B"><block type="variables_get" id="l/%fr2ub-!8!%-t.^f9C"><field name="VAR">flag</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="b}?-~US2vU=_E8m8KdDm"><value name="PIN"><shadow type="pins_digital" id="5qr(Wj}5Kfox3P`0a9t["><field name="PIN">2</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="mLB7rojcXIY0@xaWzURC"><field name="BOOL">HIGH</field></shadow></value><next><block type="inout_digital_write2" id="S;hh=QI56wcJmQdUB+ka"><value name="PIN"><shadow type="pins_digital" id="9y4Wy0`/gyV@,SMnbw7}"><field name="PIN">4</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="C{@ExLmM.$6rAf`D7,$L"><field name="BOOL">HIGH</field></shadow></value><next><block type="base_delay" id="gZ$.Ict0LXv467bc1)IQ"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="1/7CQ}|dJ$=yCS@y~r-t"><field name="NUM">1000</field></shadow></value><next><block type="inout_digital_write2" id="19~BY`eh~9wjiF3dQ@/V"><value name="PIN"><shadow type="pins_digital" id="Hg5rDLXO)BdR-dJy*Za!"><field name="PIN">2</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="t#=d/[DHkB^6Z[6N+e5+"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="TvT(.qO.xj{$!l-9MakL"><value name="PIN"><shadow type="pins_digital" id="B5cOcWA}%DA!]K(wt[v6"><field name="PIN">4</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="=}fPa+@[vip,BcLl^y89"><field name="BOOL">LOW</field></shadow></value><next><block type="base_delay" id="DhAV-5YWnlMXctv_.b!/"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="),lBX66v,/[-]#oE0ASw"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement><value name="IF1"><block type="logic_negate" id="LUfGY%SY^0ySaA1=lF]w"><value name="BOOL"><block type="variables_get" id="gMI8vcfqB*8C6aPKS#t5"><field name="VAR">flag</field></block></value></block></value><statement name="DO1"><block type="inout_digital_write2" id="_p]3/FNvlNB=imzkjhU^"><value name="PIN"><shadow type="pins_digital" id="Sg04w(|FEX+c%ju}E2:u"><field name="PIN">2</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="L~]tSL@uy6dc2de%eI%a"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="(bX^Mg%o+Hp(B=*lAWFp"><value name="PIN"><shadow type="pins_digital" id=";}G5]7oH^g{t^dL?}@)8"><field name="PIN">4</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="w=0eGnC/wk,Wb)Y`Cogq"><field name="BOOL">LOW</field></shadow></value></block></next></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="0fwB-(*tU|wCk{bspNip"><value name="PIN"><shadow type="pins_digital" id="bXa^N*D4Hau5M*[Dndc!"><field name="PIN">2</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="`}*g_z/XhXy:dr*2mNY8"><field name="BOOL">HIGH</field></shadow></value><next><block type="inout_digital_write2" id="z[l9A/;=7yDC#TCrdY#7"><value name="PIN"><shadow type="pins_digital" id="s+PkhGXc8W)(TS4;;-DK"><field name="PIN">4</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="{Y0AL9t!s8er-TFXa8):"><field name="BOOL">HIGH</field></shadow></value></block></next></block></statement></block></xml>