fix buzzer
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<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="prn}[[cpGVy;WJ0_CM;a" x="-19" y="-75"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field></block><block type="base_setup" id="C(oc%Qg;^6CJ{u0:vID#" x="-21" y="-29"><statement name="DO"><block type="servo_move" id="n=YivhJd#(7YEvSbf|pl"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="BqH${bKOsu]IUgxOosO|"><field name="NUM">90</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="SU5fq!I10y0QUm62C@i3"><field name="NUM">1000</field></shadow></value><next><block type="variables_declare" id="g]LHr+8OV=:QF2w/XAT%"><field name="variables_type">global_variate</field><field name="VAR">tem</field><field name="TYPE">float</field><value name="VALUE"><block type="math_number" id="|UG5JTvU][BvWq%H|P(|"><field name="NUM">0</field></block></value></block></next></block></statement></block><block type="variables_set" id="PP;edTw):dUez@m}rw-^" x="-17" y="123"><field name="VAR">tem</field><value name="VALUE"><block type="DHT" id="UTFa?9f=hFv_g`T1m]*{"><field name="TYPE">11</field><field name="PIN">8</field><field name="WHAT">temperature</field></block></value><next><block type="serial_println" id="xXOZT@Jmw,U1drn.I$2Q"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="variables_get" id="HwF}@W.-cuS6%rRUj2Kc"><field name="VAR">tem</field></block></value><next><block type="controls_if" id="X]nir*0E.#UUMz=:eU1`"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id="xZx}aCM)NcWCd=u`%v}O"><field name="OP">LTE</field><value name="A"><block type="variables_get" id="KFu8ntEYRMr.q%Wwr!wt"><field name="VAR">tem</field></block></value><value name="B"><block type="math_number" id="AANd}u4YOrvUdK=zY7E8"><field name="NUM">28</field></block></value></block></value><statement name="DO0"><block type="servo_move" id="{^,N4am(GRwu1S?qGlRd"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="Y5wK(l+pcJBNauZ8WBU2"><field name="NUM">135</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="_(r$.0Iti{KBn.WaIq5v"><field name="NUM">1000</field></shadow></value></block></statement><statement name="ELSE"><block type="servo_move" id="$Á.JsAx1fIQ@Km[#b7"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="aK?8CX/KyZUk8-*%.6)N"><field name="NUM">45</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="^oEHp9HWu$qMw$,_~Oa="><field name="NUM">1000</field></shadow></value></block></statement></block></next></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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>
|
||||
@@ -0,0 +1 @@
|
||||
<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="v{#^hM@LZwJnV]N6OUjy" x="3" y="-33"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="controls_for" id="]Ipfi|j(oGNnMCxWMOYb"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="cTnq5MDtZrT0A.bt|Fjw"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="Yxc0kEt$GDVFQ!]/_!Dl"><field name="NUM">255</field></shadow></value><value name="STEP"><shadow type="math_number" id="qfh$*JO]UGK~YVMm@|n%"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="inout_analog_write" id="*$#::4DGw1J.*O*$-59m"><value name="PIN"><shadow type="pins_pwm" id="d!~SNbdC7_u4^Q5|#}}L"><field name="PIN">10</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+{-5q*dirCbB.$d=Oar3"><field name="NUM">0</field></shadow><block type="variables_get" id="N]2E4c_^zK|XEMF{jjmx"><field name="VAR">i</field></block></value><next><block type="inout_analog_write" id="?2X99rUvxPF3q|w_Bm7%"><value name="PIN"><shadow type="pins_pwm" id="^YKE;-A~7tMy0NiaQ%QN"><field name="PIN">11</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%9uJ+wPG*6D*oy!lk8C/"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="HeW(,IQ2dL$qx?LJX8w{"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="3=r,TlP$8:Atw3@7!Sf_"><field name="NUM">255</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+A(a)Pn^p[/JhDl#7%cI"><field name="NUM">1</field></shadow><block type="variables_get" id="E~V:vk@tQ[MrKj`t?96("><field name="VAR">i</field></block></value></block></value><next><block type="controls_delay" id="E@?G^PWWgZsxIlV[!+xU"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="KrS+gC$wGE@hS5TtaAF="><field name="NUM">10</field></shadow></value></block></next></block></next></block></statement><next><block type="controls_for" id="!eBp#:51!(,Z.p:_*D|,"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id=":2be`9:q)8#%IRJE)5C7"><field name="NUM">255</field></shadow></value><value name="TO"><shadow type="math_number" id="G^o}]HWpei,nVA$_`XkI"><field name="NUM">0</field></shadow></value><value name="STEP"><shadow type="math_number" id="+u?oX}ua2Lp*:8=RZMik"><field name="NUM">-1</field></shadow></value><statement name="DO"><block type="inout_analog_write" id="_$XV}D,1Fw^dU4XT{qw="><value name="PIN"><shadow type="pins_pwm" id="H{q:S}XY0UI2P!.e]Q?e"><field name="PIN">10</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+{-5q*dirCbB.$d=Oar3"><field name="NUM">0</field></shadow><block type="variables_get" id="ca(,W-Wm1CWrN^Gw+kXJ"><field name="VAR">i</field></block></value><next><block type="inout_analog_write" id=",Xl2`Mx[,r9,T#eRZu3Q"><value name="PIN"><shadow type="pins_pwm" id="fv4N-8t*y4JgECZE7"><field name="PIN">11</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="??|/|fPNCBA/fy[yFKOx"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="*|.C(jfn8+4)D+Swn!EI"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="%P;Sr`LWUUZs_m0b|53A"><field name="NUM">255</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+A(a)Pn^p[/JhDl#7%cI"><field name="NUM">1</field></shadow><block type="variables_get" id="#6j,-_Z8}$?VE#:N3SR-"><field name="VAR">i</field></block></value></block></value><next><block type="controls_delay" id="eNr-rmos[#Z#p)#y`M-]"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="m/W;?e/(3NEJ4o;ieKYW"><field name="NUM">10</field></shadow></value></block></next></block></next></block></statement></block></next></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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=",Y#vZWKcgZw8RF9ezp{7" x="85" y="-4"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="ir_recv" id="ch6;l?ly^3Um?3+wf9k+"><field name="VAR">ir_item</field><value name="PIN"><shadow type="pins_digital" id="DGB%vTU{Wn*HZpo6?Wv,"><field name="PIN">12</field></shadow></value><statement name="DO"><block type="controls_delay" id="M=Etflq`1$p.rE6:.rwx"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="Gs%y!$1?@.sB(}I5s!le"><field name="NUM">150</field></shadow></value><next><block type="controls_if" id="=ShS0yE86rnI5tSHDT!B"><value name="IF0"><block type="logic_compare" id="jxV(I$17oZ2I/(#.#@uQ"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="EurR;=fr;djUH+y`umnO"><field name="VAR">ir_item</field></block></value><value name="B"><block type="math_number" id="Zn:1D^(MP1mt~,M)}B9?"><field name="NUM">0xFF6897</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="gk?bhXmv4*Ulmg2X?J;^"><value name="PIN"><shadow type="pins_digital" id="BcV:]KPY[gS(~h3ob8TE"><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="-=6HWIJX.{*ri8Gfr7u0"><field name="BOOL">HIGH</field></shadow></value></block></statement><next><block type="controls_if" id="gD(u869(YY~[Zn`+p]M-"><value name="IF0"><block type="logic_compare" id="tAVeoL%|]W=LQzdTdhCt"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="$|~3xSLV{T$T(Z7KFjV]"><field name="VAR">ir_item</field></block></value><value name="B"><block type="math_number" id="|D#]Q28@h8t9i_l%=/3c"><field name="NUM">0xFF30CF</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="Wzne7Sx`rvedjAkO.NJq"><value name="PIN"><shadow type="pins_digital" id="aN)TJN~l%.*![W+NC006"><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="ti49)Iw0X3i)uPRaNe8-"><field name="BOOL">LOW</field></shadow></value></block></statement></block></next></block></next></block></statement></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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="KXkMNff*RfRX$bI+%Vx)" x="190" y="-14"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="controls_if" id="p{,*xVmFOFYt1R/Ub^7Q"><value name="IF0"><block type="inout_digital_read2" id="4Ljk$o4`:AX%ofHq:HSp"><value name="PIN"><shadow type="pins_digital" id="{y@(Od?~P;xph2vQxVhL"><field name="PIN">2</field></shadow></value></block></value><statement name="DO0"><block type="controls_for" id="aR|epOQ_N(v^WD-y_xWS"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="Zvc]vVx{_BVjgsF0LEcP"><field name="NUM">10</field></shadow></value><value name="TO"><shadow type="math_number" id="w3qJYI?zqN:lz|r,n?|`"><field name="NUM">1</field></shadow></value><value name="STEP"><shadow type="math_number" id="O~zX(-pN#T:/i3@Ch{q2"><field name="NUM">-1</field></shadow></value><statement name="DO"><block type="display_4digitdisplay_power" id="VXT4fp1q]0lTm!w3|M+w"><field name="STAT">clear</field><next><block type="display_4digitdisplay_displayString" id="AC!stX6C6Ytdcu~6kvfA"><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="_jy93PpeU3`:1WVW,av;"><field name="TEXT">abcd</field></shadow><block type="variables_get" id="`@j)`U]?Law8j$eoNZ[O"><field name="VAR">i</field></block></value><next><block type="controls_delay" id="v%iAyZTpD6FsrpdOC,rQ"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="0%5z?Gy_#!kv0=VLJB#4"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></statement><next><block type="controls_tone" id="I|fFf(Aad89Ish{-HW{8"><value name="PIN"><shadow type="pins_digital" id="6OFysY:LYZVqweY8MSV5"><field name="PIN">10</field></shadow></value><value name="FREQUENCY"><shadow type="tone_notes" id="P9J|@]yP2itEj7G~0MNG"><field name="STAT">131</field></shadow></value><next><block type="display_4digitdisplay_displayString" id="2MC.]v^@EzIbOGHou2{)"><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="rg*9+Vyjhf^HIFNniUGq"><field name="TEXT">abcd</field></shadow><block type="math_number" id="hk{Y(NID[JL~W!3B@WjD"><field name="NUM">0</field></block></value><next><block type="controls_delay" id="Bo:}CXujOv{(~rCD)(/n"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="j-AnC5@q/sYw4Yu/Ns:,"><field name="NUM">1000</field></shadow></value><next><block type="controls_notone" id="+j*TFDH?8[ZV67l,-U@)"><value name="PIN"><shadow type="pins_digital" id="Rr;Kc;Ha1+M);zS/JoXV"><field name="PIN">10</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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="wIro{bpuQDDe)oa=I.=1" x="76" y="22"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="servo_move" id="#-p}2.RV}Y2W6)CHK;%_"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="1sWh`@d,q.vPs-|gV8Hq"><field name="NUM">0</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id=";3eeAXdSxfzD/A[6ZrrY"><field name="NUM">1000</field></shadow></value><next><block type="servo_move" id="Qc]C0(KxsLu:cnZ(+s5:"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="wyxJ_|cxMWqe_e?PuPa;"><field name="NUM">180</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="JR#I:5c4qhVNsQ_2VjR_"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino Nano w/ ATmega328P (old bootloader)" xmlns="http://www.w3.org/1999/xhtml"><block type="controls_for" id="]fXIs_J60K9s5_#8IjlC" x="73" y="157"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="?1)na/hd+^q[7PP9j9WA"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="A-3[7qLwnOq6at]dwM/]"><field name="NUM">360</field></shadow></value><value name="STEP"><shadow type="math_number" id="yaO1V=ou)R0P~q]ê5*"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="controls_tone" id="URg?j1,(SZr_,Z-xoEn="><value name="PIN"><shadow type="pins_digital" id="SZ^x-h)b1X`x;kGu;)$|"><field name="PIN">10</field></shadow></value><value name="FREQUENCY"><shadow xmlns="http://www.w3.org/1999/xhtml" type="tone_notes" id="f*JUmz!LzV-VhS6HBXVQ"><field name="STAT">262</field></shadow><block type="math_arithmetic" id="hjNWfFG8w]8LO2|6#$VC"><field name="OP">ADD</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="[3|p77aGOP:dod_J*|A/"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="o{))91wQ8?kC@h{J@^.n"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%pP^d[4(jIT#VzGR?B/["><field name="NUM">1</field></shadow><block type="math_trig" id="._#D4ZAv(m*s+84Q0yVU"><field name="OP">SIN</field><value name="NUM"><block type="variables_get" id="shed`J@.{VyjhNj;:gu]"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow type="math_number" id="uL$^E+I%pS-.w*^USfCD"><field name="NUM">500</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="IlVR(iWDd-Vñb;|5xd"><field name="NUM">700</field></shadow></value></block></value><next><block type="controls_delay" id="d1y%jb!7u)GYg2IY7k^F"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="X%n%SsYH}^gkp_uDaB@d"><field name="NUM">10</field></shadow></value></block></next></block></statement></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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="VK,;UW%=`?FP^$(lm4Fu" x="74" y="-19"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="controls_for" id="]fXIs_J60K9s5_#8IjlC"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="?1)na/hd+^q[7PP9j9WA"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="A-3[7qLwnOq6at]dwM/]"><field name="NUM">360</field></shadow></value><value name="STEP"><shadow type="math_number" id="yaO1V=ou)R0P~q]ê5*"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="controls_tone" id="URg?j1,(SZr_,Z-xoEn="><value name="PIN"><shadow type="pins_digital" id="SZ^x-h)b1X`x;kGu;)$|"><field name="PIN">10</field></shadow></value><value name="FREQUENCY"><shadow xmlns="http://www.w3.org/1999/xhtml" type="tone_notes" id="f*JUmz!LzV-VhS6HBXVQ"><field name="STAT">262</field></shadow><block type="math_arithmetic" id="hjNWfFG8w]8LO2|6#$VC"><field name="OP">ADD</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="[3|p77aGOP:dod_J*|A/"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="o{))91wQ8?kC@h{J@^.n"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%pP^d[4(jIT#VzGR?B/["><field name="NUM">1</field></shadow><block type="math_trig" id="._#D4ZAv(m*s+84Q0yVU"><field name="OP">SIN</field><value name="NUM"><block type="variables_get" id="shed`J@.{VyjhNj;:gu]"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow type="math_number" id="uL$^E+I%pS-.w*^USfCD"><field name="NUM">500</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="IlVR(iWDd-Vñb;|5xd"><field name="NUM">700</field></shadow></value></block></value><next><block type="controls_delay" id="`|K9GYQ3m-OqGba5$gZX"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="_go{h(;^7V5Qr#T.v=t7"><field name="NUM">1000</field></shadow><block type="base_map" id="m8T9kr~$?ieoW!cBj4FF"><field name="maptype">map_int</field><value name="NUM"><block type="inout_analog_read" id="}UZge5jAj,!!g8jS=)K:"><value name="PIN"><shadow type="pins_analog" id="Vf[J[6`q)Dlu:|4`qzVM"><field name="PIN">A0</field></shadow></value></block></value><value name="fromLow"><shadow type="math_number" id="E1B#X|Y7]8eSKt=M.(D*"><field name="NUM">0</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="rWK!i}O=w:3XSG-*/hy."><field name="NUM">1023</field></shadow></value><value name="toLow"><shadow type="math_number" id="]P/JZHj25BqrEa_:~y6*"><field name="NUM">5</field></shadow></value><value name="toHigh"><shadow type="math_number" id="887:_HZZ1UYJzc6M8cd-"><field name="NUM">15</field></shadow></value></block></value></block></next></block></statement></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino Nano w/ ATmega328P (old bootloader)" xmlns="http://www.w3.org/1999/xhtml"><block type="controls_for" id="]fXIs_J60K9s5_#8IjlC" x="73" y="157"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="?1)na/hd+^q[7PP9j9WA"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="A-3[7qLwnOq6at]dwM/]"><field name="NUM">360</field></shadow></value><value name="STEP"><shadow type="math_number" id="yaO1V=ou)R0P~q]ê5*"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="controls_tone" id="URg?j1,(SZr_,Z-xoEn="><value name="PIN"><shadow type="pins_digital" id="SZ^x-h)b1X`x;kGu;)$|"><field name="PIN">10</field></shadow></value><value name="FREQUENCY"><shadow xmlns="http://www.w3.org/1999/xhtml" type="tone_notes" id="f*JUmz!LzV-VhS6HBXVQ"><field name="STAT">262</field></shadow><block type="math_arithmetic" id="hjNWfFG8w]8LO2|6#$VC"><field name="OP">ADD</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="[3|p77aGOP:dod_J*|A/"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="o{))91wQ8?kC@h{J@^.n"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%pP^d[4(jIT#VzGR?B/["><field name="NUM">1</field></shadow><block type="math_trig" id="._#D4ZAv(m*s+84Q0yVU"><field name="OP">SIN</field><value name="NUM"><block type="variables_get" id="shed`J@.{VyjhNj;:gu]"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow type="math_number" id="uL$^E+I%pS-.w*^USfCD"><field name="NUM">500</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="IlVR(iWDd-Vñb;|5xd"><field name="NUM">700</field></shadow></value></block></value><next><block type="controls_delay" id="d1y%jb!7u)GYg2IY7k^F"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="X%n%SsYH}^gkp_uDaB@d"><field name="NUM">10</field></shadow></value></block></next></block></statement></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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="+J+/5(JgL`XLa$CC%RS." x="176" y="21"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field></block><block type="base_setup" id="$EU+fuukA6+_L@5=4`Py" x="172" y="67"><statement name="DO"><block type="variables_declare" id="Zq[msIJ+@(4x[;~FvA]c"><field name="variables_type">global_variate</field><field name="VAR">s1</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="U{01PYh.8G/BtD5nAK3?"><field name="NUM">0</field></block></value><next><block type="servo_move" id="4PLN,gV|#ISPNGx$yug-"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="U4Eguw.~jT|+K`}|UN(5"><field name="NUM">0</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="J/OWrd4[q!Lm06IhZZCP"><field name="NUM">200</field></shadow></value></block></next></block></statement></block><block type="ir_recv" id="ARaWKN}(2D]yS]}{xVyC" x="173" y="218"><field name="VAR">ir_item</field><value name="PIN"><shadow type="pins_digital" id="P0sB~VlD/2jX13kjTk#s"><field name="PIN">8</field></shadow></value><statement name="DO"><block type="serial_print_num" id="BkpgiU;7@!YnJ#.G?ido"><field name="serial_select">Serial</field><field name="new_line">print</field><field name="STAT">HEX</field><value name="CONTENT"><block type="variables_get" id="`A1:s3M_,5}s$]uhDCeV"><field name="VAR">ir_item</field></block></value><next><block type="controls_delay" id="UDP?Mdxg`hoQQ7WY:(Nh"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="kA=5L:GDlW?}YnO$@;A*"><field name="NUM">150</field></shadow></value><next><block type="controls_if" id="~S6S1hZGJ~g~4VgORbR*"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="1" else="1"></mutation><value name="IF0"><block type="logic_compare" id=")c`+eQM[Hi#b@NTDBi!U"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="1Gv+bL`~Nz02wwCG8Y4d"><field name="VAR">ir_item</field></block></value><value name="B"><block type="math_number" id="BtV,85}ZOO7YCFXn|#f7"><field name="NUM">0xFF6897</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="9xPyCZ,fF4fipT.?+k9@"><field name="VAR">s1</field><value name="VALUE"><block type="math_number" id="a,N91wReB7,LJ#c#k/zD"><field name="NUM">1</field></block></value></block></statement><value name="IF1"><block type="logic_operation" id="F8;,PJ?6xZQCrxGg9+FN"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="zYy;he.GrNlL~7:yvHYI"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="%=D4i$fC)|xln}eiX.5e"><field name="VAR">ir_item</field></block></value><value name="B"><block type="math_number" id="2HiaCNQRtu_:+/`5A{Mg"><field name="NUM">0xFF30CF</field></block></value></block></value><value name="B"><block type="logic_compare" id="5#nR{FsS=?3B6IsTsZ`g"><field name="OP">EQ</field><value name="A"><block type="variables_get" id=";qtEGGM[jGiNz_CpA!/g"><field name="VAR">s1</field></block></value><value name="B"><block type="math_number" id="OPpaR2WT.-I`{2[GAlsn"><field name="NUM">1</field></block></value></block></value></block></value><statement name="DO1"><block type="variables_set" id="T/}z.,tR+IFi!T#niox_"><field name="VAR">s1</field><value name="VALUE"><block type="math_number" id="JU,uYM!+;)RF00k^HOb("><field name="NUM">2</field></block></value></block></statement><statement name="ELSE"><block type="variables_set" id="h#c6DWM@#vBOv=!B0{c5"><field name="VAR">s1</field><value name="VALUE"><block type="math_number" id="Y_*oC|@t`%Khkak|2sPV"><field name="NUM">0</field></block></value></block></statement><next><block type="controls_if" id="ICCMc)]F2rz~[cI{j|(W"><value name="IF0"><block type="logic_compare" id="UDn/h]|uZMndX5,(]E:{"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="VfAf?(nqo`4=(``SCv*M"><field name="VAR">s1</field></block></value><value name="B"><block type="math_number" id="6La-ZZlweLy^nZcoYEMn"><field name="NUM">2</field></block></value></block></value><statement name="DO0"><block type="servo_move" id="`y4LBJ4JcGrggEOmYMBq"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="gNlds0~16cElnL}YFFn}"><field name="NUM">180</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="9~GLFEas@i_Y0zZea42v"><field name="NUM">3000</field></shadow></value><next><block type="servo_move" id="1pLU:eBxr7XTuw{0vpon"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="6`Tu.5m0;R$,VQ[CF/6t"><field name="NUM">0</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="RB:U{C2tl*GF@D:W4O2V"><field name="NUM">500</field></shadow></value></block></next></block></statement></block></next></block></next></block></next></block></statement></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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="Vyd#BCP@57k;nPw-4At[" x="107" y="33"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="serial_println" id="i~9o5hXJIo,iP:^qIdIq"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="chaoshengbo2" id="T`{D|yj`Lm`~xUyV/3d;"><field name="Trig">8</field><field name="Echo">9</field></block></value><next><block type="controls_delay" id="{2Jz^E?#vKl,2sY_PijX"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="/0/5T/@7@7r}RYHGo.s`"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino Nano w/ ATmega328P (old bootloader)" xmlns="http://www.w3.org/1999/xhtml"><block type="controls_for" id="]fXIs_J60K9s5_#8IjlC" x="101" y="30"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="?1)na/hd+^q[7PP9j9WA"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="A-3[7qLwnOq6at]dwM/]"><field name="NUM">360</field></shadow></value><value name="STEP"><shadow type="math_number" id="yaO1V=ou)R0P~q]ê5*"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="controls_tone" id="URg?j1,(SZr_,Z-xoEn="><value name="PIN"><shadow type="pins_digital" id="SZ^x-h)b1X`x;kGu;)$|"><field name="PIN">10</field></shadow></value><value name="FREQUENCY"><shadow xmlns="http://www.w3.org/1999/xhtml" type="tone_notes" id="f*JUmz!LzV-VhS6HBXVQ"><field name="STAT">262</field></shadow><block type="math_arithmetic" id="hjNWfFG8w]8LO2|6#$VC"><field name="OP">ADD</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="[3|p77aGOP:dod_J*|A/"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="o{))91wQ8?kC@h{J@^.n"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%pP^d[4(jIT#VzGR?B/["><field name="NUM">1</field></shadow><block type="math_trig" id="._#D4ZAv(m*s+84Q0yVU"><field name="OP">SIN</field><value name="NUM"><block type="variables_get" id="shed`J@.{VyjhNj;:gu]"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow type="math_number" id="uL$^E+I%pS-.w*^USfCD"><field name="NUM">500</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="IlVR(iWDd-Vñb;|5xd"><field name="NUM">700</field></shadow></value></block></value><next><block type="controls_delay" id="`|K9GYQ3m-OqGba5$gZX"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="_go{h(;^7V5Qr#T.v=t7"><field name="NUM">1000</field></shadow><block type="base_map" id="m8T9kr~$?ieoW!cBj4FF"><field name="maptype">map_int</field><value name="NUM"><block type="inout_analog_read" id="}UZge5jAj,!!g8jS=)K:"><value name="PIN"><shadow type="pins_analog" id="Vf[J[6`q)Dlu:|4`qzVM"><field name="PIN">A0</field></shadow></value></block></value><value name="fromLow"><shadow type="math_number" id="E1B#X|Y7]8eSKt=M.(D*"><field name="NUM">0</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="rWK!i}O=w:3XSG-*/hy."><field name="NUM">1023</field></shadow></value><value name="toLow"><shadow type="math_number" id="]P/JZHj25BqrEa_:~y6*"><field name="NUM">5</field></shadow></value><value name="toHigh"><shadow type="math_number" id="887:_HZZ1UYJzc6M8cd-"><field name="NUM">15</field></shadow></value></block></value></block></next></block></statement></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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="^/c/j==5CZ8DR5WUV-L;" x="64" y="15"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="controls_if" id="eW%K^V*UywC3O6+`R,m+"><value name="IF0"><block type="inout_digital_read2" id="JhoR96vp.%cpM5cz:Y7G"><value name="PIN"><shadow type="pins_digital" id="y%yBCtcPRx=zfTP_%@#;"><field name="PIN">10</field></shadow></value></block></value><statement name="DO0"><block type="controls_whileUntil" id="GKNRNii1RLzCXM/^oO[%"><field name="MODE">WHILE</field><value name="BOOL"><shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="f?jbC@jE[xg~%0sW/ig:"><field name="BOOL">TRUE</field></shadow><block type="inout_digital_read2" id="FRR{U0/X_7v|SB47sHwy"><value name="PIN"><shadow type="pins_digital" id="I;,ivIYgP]:E,?+#!v~5"><field name="PIN">10</field></shadow></value></block></value><statement name="DO"><block type="controls_delay" id="]B@s_N$ZnN1u0kb-~!8z"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="?n$MpFlO^LI!Tu.Y9GN["><field name="NUM">10</field></shadow></value></block></statement><next><block type="inout_digital_write2" id="GSoWMsej,Rz%w$MoSy{P"><value name="PIN"><shadow type="pins_digital" id="u1`1Dtd4(/RK4S5pdm(W"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="?Dn9n;]jN`^XLwod8l)O"><field name="BOOL">HIGH</field></shadow><block type="logic_negate" id="bFCp(xDkEp2Ih,x[6k40"><value name="BOOL"><block type="inout_digital_read2" id="FaI?A-*V#V`k|T3WFG-!"><value name="PIN"><shadow type="pins_digital" id="2zp2q()plkqqGN%^:,/`"><field name="PIN">11</field></shadow></value></block></value></block></value></block></next></block></statement></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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="[9M3qI.Vz_G2lvScD*4M" x="104" y="7"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="controls_tone" id="URg?j1,(SZr_,Z-xoEn="><value name="PIN"><shadow type="pins_digital" id="SZ^x-h)b1X`x;kGu;)$|"><field name="PIN">10</field></shadow></value><value name="FREQUENCY"><shadow type="tone_notes" id="f*JUmz!LzV-VhS6HBXVQ"><field name="STAT">262</field></shadow></value><next><block type="controls_delay" id="d1y%jb!7u)GYg2IY7k^F"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="X%n%SsYH}^gkp_uDaB@d"><field name="NUM">300</field></shadow></value><next><block type="controls_tone" id="ZXh_8bX8H^-th~C!d?O]"><value name="PIN"><shadow type="pins_digital" id="QP:RDS{^AsVHf0@1UzDs"><field name="PIN">10</field></shadow></value><value name="FREQUENCY"><shadow type="tone_notes" id="lQ}SGC%WU`?JSq7eee]T"><field name="STAT">294</field></shadow></value><next><block type="controls_delay" id="W`;EJ|@^*Nm:O`B,Tyfu"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="%Cys*S:Qó$]N2*8)g2"><field name="NUM">300</field></shadow></value><next><block type="controls_tone" id="g9+rRoWpUqY]uoxTM0a$"><value name="PIN"><shadow type="pins_digital" id="L}=3j;q`lC|+/h`kz%o{"><field name="PIN">10</field></shadow></value><value name="FREQUENCY"><shadow type="tone_notes" id="[V@wPPJEEtAlrg@7JL+J"><field name="STAT">330</field></shadow></value><next><block type="controls_delay" id="?xVBGdNf%5KQq@y%E,`H"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="~cB*@Un]%Cpb]rd}*IIN"><field name="NUM">300</field></shadow></value><next><block type="controls_notone" id="43T{QN!%LBcKEsbVBgVl"><value name="PIN"><shadow type="pins_digital" id="?hwVy@p*Rz]y!uP2Te3!"><field name="PIN">10</field></shadow></value><next><block type="controls_delay" id=".frB4y|L%}`8{ESiDpOi"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="RB/SfPEnto.oW~QgL9QI"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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="C(oc%Qg;^6CJ{u0:vID#" x="-21" y="-29"><statement name="DO"><block type="servo_move" id="n=YivhJd#(7YEvSbf|pl"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="BqH${bKOsu]IUgxOosO|"><field name="NUM">90</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="SU5fq!I10y0QUm62C@i3"><field name="NUM">1000</field></shadow></value><next><block type="variables_declare" id="g]LHr+8OV=:QF2w/XAT%"><field name="variables_type">global_variate</field><field name="VAR">tem</field><field name="TYPE">float</field><value name="VALUE"><block type="math_number" id="|UG5JTvU][BvWq%H|P(|"><field name="NUM">0</field></block></value></block></next></block></statement></block><block type="variables_set" id="PP;edTw):dUez@m}rw-^" x="-17" y="123"><field name="VAR">tem</field><value name="VALUE"><block type="DHT" id="UTFa?9f=hFv_g`T1m]*{"><field name="TYPE">11</field><field name="PIN">8</field><field name="WHAT">temperature</field></block></value><next><block type="serial_println" id="xXOZT@Jmw,U1drn.I$2Q"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="variables_get" id="HwF}@W.-cuS6%rRUj2Kc"><field name="VAR">tem</field></block></value><next><block type="controls_if" id="X]nir*0E.#UUMz=:eU1`"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="1" else="1"></mutation><value name="IF0"><block type="logic_compare" id="xZx}aCM)NcWCd=u`%v}O"><field name="OP">LTE</field><value name="A"><block type="variables_get" id="KFu8ntEYRMr.q%Wwr!wt"><field name="VAR">tem</field></block></value><value name="B"><block type="math_number" id="AANd}u4YOrvUdK=zY7E8"><field name="NUM">28</field></block></value></block></value><statement name="DO0"><block type="servo_move" id="{^,N4am(GRwu1S?qGlRd"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="Y5wK(l+pcJBNauZ8WBU2"><field name="NUM">150</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="_(r$.0Iti{KBn.WaIq5v"><field name="NUM">1000</field></shadow></value></block></statement><value name="IF1"><block type="logic_compare" id="Rs#J$c#WGuFCbLRIL9V%"><field name="OP">GT</field><value name="A"><block type="variables_get" id="[C:j4%lMVu13l;8}+yYx"><field name="VAR">tem</field></block></value><value name="B"><block type="math_number" id="gJjW?aGVC#BK.J/Ev3zP"><field name="NUM">29</field></block></value></block></value><statement name="DO1"><block type="servo_move" id="V{r/+zI+wb,86GvsB11i"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="sGawOMQTUc!Kfy^RF}^J"><field name="NUM">30</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id=")n9;|evv(zgmRpYWUKvc"><field name="NUM">1000</field></shadow></value></block></statement><statement name="ELSE"><block type="servo_move" id="$Á.JsAx1fIQ@Km[#b7"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="aK?8CX/KyZUk8-*%.6)N"><field name="NUM">90</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="^oEHp9HWu$qMw$,_~Oa="><field name="NUM">1000</field></shadow></value></block></statement></block></next></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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="L?LdCK-.lb:UrQX6N;]," x="-117" y="-30"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="inout_digital_write2" id="Z5vOHcK?azv=*m|C=:W7"><value name="PIN"><shadow type="pins_digital" id="NVRaA!k8ul[8%Z0)YxWI"><field name="PIN">10</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="D|H6Hb9EbmeP+pY/0v5|"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="$;:Iqi@4z2EYd4^)m$dT"><value name="PIN"><shadow type="pins_digital" id="YJ`)SRqxjRa,.m_S$@IX"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="FZ!Bk2~HjMUh?#zD(-Q!"><field name="BOOL">HIGH</field></shadow></value><next><block type="controls_delay" id="6lbE]vZik=Z!4O{?FC|b"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="gNS?h4G(GxSUaH$x/%]F"><field name="NUM">1000</field></shadow></value><next><block type="inout_digital_write2" id="HEmz}qfbb#CofRX3)A8n"><value name="PIN"><shadow type="pins_digital" id="ZG$,E!Iw-H?b=QdnP9/#"><field name="PIN">10</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="/:Gr1pt`Am4*njcZVk4Y"><field name="BOOL">HIGH</field></shadow></value><next><block type="inout_digital_write2" id=".~-#2$u_}5UR7H5ROl~m"><value name="PIN"><shadow type="pins_digital" id="vmvo,be@/1[TB,T34{#4"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="#EnINJ)r5zhsYy*YyRoJ"><field name="BOOL">LOW</field></shadow></value><next><block type="controls_delay" id="w8|}r[j#-}.1%|vQR^B7"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="!)GC+LM:Ml@*+U*:ToV;"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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="lka*j0Q6_z3[O6d(:s#/" x="0" y="0"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field></block><block type="base_setup" id="@//N7:)Y1`rFr3P0g1@U" x="0" y="65"><statement name="DO"><block type="inout_digital_write2" id="Mx;u?C|M7lh)!v-WP}rY"><value name="PIN"><shadow type="pins_digital" id="1bTSDrff=;-X@]zt_w`y"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="znJi9n|o%?D`d~m_Rr@b"><field name="BOOL">HIGH</field></shadow></value></block></statement></block><block type="controls_if" id=".w/%eip;S?UFx]S,M3R[" x="0" y="168"><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="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="controls_millis" id="Ha4Uk7G^OU6SZ/X,+/WF"><field name="UNIT">millis</field></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></block></next></block></next></block></statement></block></xml>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<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="IEN0ik{tBtpF._-PazRl" x="0" y="0"><statement name="DO"><block type="variables_declare" id="MDrbZ[~o5{YLY$}{TG[!"><field name="variables_type">global_variate</field><field name="VAR">length</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="zk1$a/+g8!vs#P$/Z[ba"><field name="NUM">0</field></block></value></block></statement></block><block type="factory_notes" id="hxXtqqlce#E;!.1b%J0u" x="0" y="92"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="variables_set" id="pr_}U0fu4#)v]8y)m~Z{"><field name="VAR">length</field><value name="VALUE"><block type="chaoshengbo2" id="T`{D|yj`Lm`~xUyV/3d;"><field name="Trig">8</field><field name="Echo">9</field></block></value><next><block type="serial_println" id="i~9o5hXJIo,iP:^qIdIq"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="variables_get" id="(Z;SJGuKvu,D?tf{+EJ-"><field name="VAR">length</field></block></value><next><block type="controls_if" id="YM{7^n;K~$S03uZb}J40"><value name="IF0"><block type="logic_compare" id="]?+7.if%OXI4O(g{VAC]"><field name="OP">LTE</field><value name="A"><block type="variables_get" id=",XP$GXt*yx#bwR=$UTM)"><field name="VAR">length</field></block></value><value name="B"><block type="math_number" id="PN(@/bYgP-wQ_u7KSP:/"><field name="NUM">25</field></block></value></block></value><statement name="DO0"><block type="controls_tone" id=":Yaz?./1?xBj=71iMRmC"><value name="PIN"><shadow type="pins_digital" id="{|hffzQe`RQyV%NfQDP+"><field name="PIN">10</field></shadow></value><value name="FREQUENCY"><shadow type="tone_notes" id="joI[!~FSU(_nhTbM??vn"><field name="STAT">131</field></shadow></value><next><block type="controls_delay" id="W8j_(,rxGabj^N73!:(a"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="/0/5T/@7@7r}RYHGo.s`"><field name="NUM">1000</field></shadow><block type="math_arithmetic" id="vA*o.TKmI(6FFO~qwwCC"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="ZR!,C3?A8hG[%xD%pL?k"><field name="NUM">1</field></shadow><block type="variables_get" id="#}Zx%)nNp)f`n1pU%4mC"><field name="VAR">length</field></block></value><value name="B"><shadow type="math_number" id="UY/Sxk?p}j5)~]7l:RwP"><field name="NUM">4</field></shadow></value></block></value><next><block type="controls_notone" id="Egsps)n.vmE9B5:}dXm?"><value name="PIN"><shadow type="pins_digital" id="Kp4WU|`05?z)wu@r)RqJ"><field name="PIN">10</field></shadow></value><next><block type="controls_delay" id="{2Jz^E?#vKl,2sY_PijX"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="/0/5T/@7@7r}RYHGo.s`"><field name="NUM">1000</field></shadow><block type="math_arithmetic" id="(W;[dCSR78TNm;*K~WGf"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="ZR!,C3?A8hG[%xD%pL?k"><field name="NUM">1</field></shadow><block type="variables_get" id="o?Tog_56k(X~R[d]But["><field name="VAR">length</field></block></value><value name="B"><shadow type="math_number" id="q9g8_9oDjyBw0r~$fJ%n"><field name="NUM">4</field></shadow></value></block></value></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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="*+u3wjr}A:amCxP?vvkj" x="56" y="-7"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="controls_for" id="]Ipfi|j(oGNnMCxWMOYb"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="cTnq5MDtZrT0A.bt|Fjw"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="Yxc0kEt$GDVFQ!]/_!Dl"><field name="NUM">255</field></shadow></value><value name="STEP"><shadow type="math_number" id="qfh$*JO]UGK~YVMm@|n%"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="inout_analog_write" id="*$#::4DGw1J.*O*$-59m"><value name="PIN"><shadow type="pins_pwm" id="d!~SNbdC7_u4^Q5|#}}L"><field name="PIN">10</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+{-5q*dirCbB.$d=Oar3"><field name="NUM">0</field></shadow><block type="variables_get" id="N]2E4c_^zK|XEMF{jjmx"><field name="VAR">i</field></block></value><next><block type="controls_delay" id="E@?G^PWWgZsxIlV[!+xU"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="KrS+gC$wGE@hS5TtaAF="><field name="NUM">10</field></shadow></value></block></next></block></statement><next><block type="controls_for" id="!eBp#:51!(,Z.p:_*D|,"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id=":2be`9:q)8#%IRJE)5C7"><field name="NUM">255</field></shadow></value><value name="TO"><shadow type="math_number" id="G^o}]HWpei,nVA$_`XkI"><field name="NUM">0</field></shadow></value><value name="STEP"><shadow type="math_number" id="+u?oX}ua2Lp*:8=RZMik"><field name="NUM">-1</field></shadow></value><statement name="DO"><block type="inout_analog_write" id="_$XV}D,1Fw^dU4XT{qw="><value name="PIN"><shadow type="pins_pwm" id="H{q:S}XY0UI2P!.e]Q?e"><field name="PIN">10</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+{-5q*dirCbB.$d=Oar3"><field name="NUM">0</field></shadow><block type="variables_get" id="ca(,W-Wm1CWrN^Gw+kXJ"><field name="VAR">i</field></block></value><next><block type="controls_delay" id="eNr-rmos[#Z#p)#y`M-]"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="m/W;?e/(3NEJ4o;ieKYW"><field name="NUM">10</field></shadow></value></block></next></block></statement></block></next></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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=";iT)e`+rrS^k}[%}Y}Qv" x="0" y="0"><statement name="DO"><block type="variables_declare" id="[~F,Xiu{PB;n/1n.,UE)"><field name="variables_type">global_variate</field><field name="VAR">time</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="+LdZ)0=bk9=c.G+?,w{U"><field name="NUM">0</field></block></value></block></statement></block><block type="factory_notes" id="QOSQ[f]/_j4l!aK7bR1=" x="0" y="92"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="variables_set" id="fLUrWy^4H8E#k#Zii5Gu"><field name="VAR">time</field><value name="VALUE"><block type="base_map" id="~Gj-f`asH*DefjS+oHXN"><field name="maptype">map_int</field><value name="NUM"><block type="inout_analog_read" id="4HS:Djw3{OQ}Y|7G4F?E"><value name="PIN"><shadow type="pins_analog" id="uy6Hs#LT`#+6lq,dn;{a"><field name="PIN">A0</field></shadow></value></block></value><value name="fromLow"><shadow type="math_number" id="P}Dw_NS^q(eeD*=JRA,V"><field name="NUM">0</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="s`P#cZL]es]!BXwg2ge9"><field name="NUM">1023</field></shadow></value><value name="toLow"><shadow type="math_number" id="@*7[d_*S.(}GnASdS+1n"><field name="NUM">1</field></shadow></value><value name="toHigh"><shadow type="math_number" id="X@-{7#Xr;bwPFL=K3lcu"><field name="NUM">30</field></shadow></value></block></value><next><block type="display_4digitdisplay_power" id="J)if*UE$IhXE69#iUK]t"><field name="STAT">clear</field><next><block type="display_4digitdisplay_displayString" id="]5E//B0i{Lz$xq{JP*yv"><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="VMPEqjhe1zZMOkn.:j8^"><field name="TEXT">abcd</field></shadow><block type="variables_get" id="QxKhCC{E@l4paD?5vPY-"><field name="VAR">time</field></block></value><next><block type="controls_delay" id="LO:kB0kKf:E|/I)/M1Y["><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="0d9|,|e7KD4lnGUMj[Ln"><field name="NUM">150</field></shadow></value><next><block type="controls_if" id="p{,*xVmFOFYt1R/Ub^7Q"><value name="IF0"><block type="inout_digital_read2" id="4Ljk$o4`:AX%ofHq:HSp"><value name="PIN"><shadow type="pins_digital" id="{y@(Od?~P;xph2vQxVhL"><field name="PIN">2</field></shadow></value></block></value><statement name="DO0"><block type="controls_for" id="aR|epOQ_N(v^WD-y_xWS"><field name="VAR">i</field><value name="FROM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Zvc]vVx{_BVjgsF0LEcP"><field name="NUM">10</field></shadow><block type="variables_get" id="1;tW#9zzD,#OnQ1P`JF*"><field name="VAR">time</field></block></value><value name="TO"><shadow type="math_number" id="w3qJYI?zqN:lz|r,n?|`"><field name="NUM">1</field></shadow></value><value name="STEP"><shadow type="math_number" id="O~zX(-pN#T:/i3@Ch{q2"><field name="NUM">-1</field></shadow></value><statement name="DO"><block type="display_4digitdisplay_power" id="VXT4fp1q]0lTm!w3|M+w"><field name="STAT">clear</field><next><block type="display_4digitdisplay_displayString" id="AC!stX6C6Ytdcu~6kvfA"><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="_jy93PpeU3`:1WVW,av;"><field name="TEXT">abcd</field></shadow><block type="variables_get" id="`@j)`U]?Law8j$eoNZ[O"><field name="VAR">i</field></block></value><next><block type="controls_delay" id="v%iAyZTpD6FsrpdOC,rQ"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="0%5z?Gy_#!kv0=VLJB#4"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></statement><next><block type="controls_tone" id="I|fFf(Aad89Ish{-HW{8"><value name="PIN"><shadow type="pins_digital" id="6OFysY:LYZVqweY8MSV5"><field name="PIN">10</field></shadow></value><value name="FREQUENCY"><shadow type="tone_notes" id="P9J|@]yP2itEj7G~0MNG"><field name="STAT">131</field></shadow></value><next><block type="display_4digitdisplay_displayString" id="2MC.]v^@EzIbOGHou2{)"><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="rg*9+Vyjhf^HIFNniUGq"><field name="TEXT">abcd</field></shadow><block type="math_number" id="hk{Y(NID[JL~W!3B@WjD"><field name="NUM">0</field></block></value><next><block type="controls_delay" id="Bo:}CXujOv{(~rCD)(/n"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="j-AnC5@q/sYw4Yu/Ns:,"><field name="NUM">1000</field></shadow></value><next><block type="controls_notone" id="+j*TFDH?8[ZV67l,-U@)"><value name="PIN"><shadow type="pins_digital" id="Rr;Kc;Ha1+M);zS/JoXV"><field name="PIN">10</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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="ZN[%Y2dQiUnT8pSZW4Hf" x="-151" y="6"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="inout_digital_write2" id="$;:Iqi@4z2EYd4^)m$dT"><value name="PIN"><shadow type="pins_digital" id="YJ`)SRqxjRa,.m_S$@IX"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="FZ!Bk2~HjMUh?#zD(-Q!"><field name="BOOL">HIGH</field></shadow></value><next><block type="controls_delay" id="6lbE]vZik=Z!4O{?FC|b"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="gNS?h4G(GxSUaH$x/%]F"><field name="NUM">1000</field></shadow></value><next><block type="inout_digital_write2" id=".~-#2$u_}5UR7H5ROl~m"><value name="PIN"><shadow type="pins_digital" id="vmvo,be@/1[TB,T34{#4"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="#EnINJ)r5zhsYy*YyRoJ"><field name="BOOL">LOW</field></shadow></value><next><block type="controls_delay" id="w8|}r[j#-}.1%|vQR^B7"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="!)GC+LM:Ml@*+U*:ToV;"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<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=":7-M3HQrC$};4mCvJs@L" x="65" y="19"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field><next><block type="controls_if" id="eW%K^V*UywC3O6+`R,m+"><value name="IF0"><block type="logic_compare" id="3lB-1M@^u/;?1##]RZ-K"><field name="OP">EQ</field><value name="A"><block type="inout_digital_read2" id="JhoR96vp.%cpM5cz:Y7G"><value name="PIN"><shadow type="pins_digital" id="y%yBCtcPRx=zfTP_%@#;"><field name="PIN">10</field></shadow></value></block></value><value name="B"><block type="inout_highlow" id="fCug/1q9~rs$@v.u`zj{"><field name="BOOL">HIGH</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="GSoWMsej,Rz%w$MoSy{P"><value name="PIN"><shadow type="pins_digital" id="u1`1Dtd4(/RK4S5pdm(W"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="?Dn9n;]jN`^XLwod8l)O"><field name="BOOL">HIGH</field></shadow></value></block></statement><next><block type="controls_if" id="]hHmOhMk1IzcI0V2{7%."><value name="IF0"><block type="logic_compare" id="3NDWwuaTM;G7d)Y8k^8l"><field name="OP">EQ</field><value name="A"><block type="inout_digital_read2" id="L3$d8`Mn25nBo(hv0+rK"><value name="PIN"><shadow type="pins_digital" id="RM]4wylqUg($P@O[4;Id"><field name="PIN">10</field></shadow></value></block></value><value name="B"><block type="inout_highlow" id="bY=V[1n%:ybRkGtiltZ4"><field name="BOOL">LOW</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="tm^=ItGWu0E5AKlVcQPl"><value name="PIN"><shadow type="pins_digital" id="Lh.p[;t/cS!]^duO]GP["><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="^.*/-.Ya{Lnaf7N[YEV$"><field name="BOOL">LOW</field></shadow></value></block></statement></block></next></block></next></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino Nano w/ ATmega328P (old bootloader)" xmlns="http://www.w3.org/1999/xhtml"><block type="controls_if" id="O3OY/xH{=M@*K+.=UL/?" x="55" y="-52"><value name="IF0"><block type="inout_digital_read2" id="j(YH|ZRA^qG!I?)Gjh}A"><value name="PIN"><shadow type="pins_digital" id=".@iM6A9o4EVVP?=ZQ]~p"><field name="PIN">10</field></shadow></value></block></value><statement name="DO0"><block type="controls_whileUntil" id="+UGMmA{re)q6^p(@|Uxv"><field name="MODE">WHILE</field><value name="BOOL"><shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="e^zQlyop=`s5!-MhPt(/"><field name="BOOL">TRUE</field></shadow><block type="inout_digital_read2" id="(a3lN6.EZOwm*gg1wrga"><value name="PIN"><shadow type="pins_digital" id=",o+AxJozpA!-N;o9kd[9"><field name="PIN">10</field></shadow></value></block></value><statement name="DO"><block type="controls_delay" id="TE/8OMrr[iY5A/?UK.$P"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="C8Mjf@(=2c:(f(PzR=Ci"><field name="NUM">10</field></shadow></value></block></statement><next><block type="inout_digital_write2" id="R-Qh$z{+/79!o^NkvqFy"><value name="PIN"><shadow type="pins_digital" id="Z+Icwdv6Fk2yh^N_e0;M"><field name="PIN">5</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="6A7!#4M@[)]j6;n]U.yc"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="4:b=l=;0Fj:R:K14?rM-"><value name="PIN"><shadow type="pins_digital" id="1;CW_g4JM@9]dHzQ#)!Y"><field name="PIN">6</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="?xQu3]EvI[dl7kaUe}Dg"><field name="BOOL">HIGH</field></shadow></value><next><block type="controls_delay" id="eDhy3rÊcbvNYeuGm^H"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="f6FVA9H$gGeZqol)ET]u"><field name="NUM">200</field></shadow></value><next><block type="inout_digital_write2" id="8o0=8Ujrg)nmqb7-JS?m"><value name="PIN"><shadow type="pins_digital" id="yOiN6B^SpZvXrAGaZA:O"><field name="PIN">5</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="3OY5ZZ!pf:$cL4jS7xJ8"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id=",6^}nqnO/QG;xN]O/Fpj"><value name="PIN"><shadow type="pins_digital" id="~Lzd(p+KG!E=M3f,D6@,"><field name="PIN">6</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="]n|xfQKU)%g|HdIy5[i#"><field name="BOOL">LOW</field></shadow></value><next><block type="controls_delay" id="}kH?LWpJ*QYt=gZu7TiR"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="iR!GslJ32v{ePM{z*W#i"><field name="NUM">2500</field></shadow></value><next><block type="controls_if" id="nT[~$!LzF5ub`zTm0yZK"><value name="IF0"><block type="logic_negate" id="djTY#AS{/2V|C6n8JSz{"><value name="BOOL"><block type="inout_digital_read2" id="wZ6P|;ygj6HZL5h:8NH,"><value name="PIN"><shadow type="pins_digital" id="@UfRqcZ{eV{lyF/T@60;"><field name="PIN">4</field></shadow></value></block></value></block></value><statement name="DO0"><block type="servo_move" id="?%KZ#],-.VHqC22lsv~K"><field name="PIN">12</field><value name="DEGREE"><shadow type="math_number" id="c=K}N@)7u#oQRMVzk9p_"><field name="NUM">0</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="%bMmLE!Fr;g__$}B@K-W"><field name="NUM">2000</field></shadow></value><next><block type="controls_whileUntil" id="#o0-kRw~3CF7RVi.?hNa"><field name="MODE">WHILE</field><value name="BOOL"><shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="-3nx3!7Q(;#4~NyrwSE^"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="mGyP1VLL*o;By%fU*B^N"><value name="BOOL"><block type="inout_digital_read2" id="kxFGFYE/f_xZ2ttP:Nn~"><value name="PIN"><shadow type="pins_digital" id="cFUWZ@5IkoAf+r*_K1LF"><field name="PIN">4</field></shadow></value></block></value></block></value><statement name="DO"><block type="controls_delay" id="{:7n`5CZSt|^)/J%fo+j"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="t-sOS6BV!u!japT`n2qD"><field name="NUM">10</field></shadow></value></block></statement><next><block type="servo_move" id="g@!r3/KiGwS~L)xZ:(])"><field name="PIN">12</field><value name="DEGREE"><shadow type="math_number" id="b}tsD2)`L7@^w[Sj)}m@"><field name="NUM">150</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="!dw=P)n:o:hjwu-j/,f%"><field name="NUM">2000</field></shadow></value></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>
|
||||
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino Nano w/ ATmega328P (old bootloader)" xmlns="http://www.w3.org/1999/xhtml"><block type="controls_if" id="`Bb]^;7FBcsh/jXX0Lf4" x="0" y="0"><value name="IF0"><block type="inout_digital_read2" id=";ZDs~3Rgk|L[abSa}+Vt"><value name="PIN"><shadow type="pins_digital" id="`W_%D?exix!U-4k8j$*C"><field name="PIN">2</field></shadow></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="0yk=TE=d9}c3z~GWy(pK"><value name="PIN"><shadow type="pins_digital" id="s$.!2{rq,N%gm7A:e!sy"><field name="PIN">8</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="?Ivbs#@Rj+0hk{o}D:ne"><field name="BOOL">HIGH</field></shadow><block type="logic_negate" id="o!)/E;+F-R8@4{L|1?S-"><value name="BOOL"><block type="inout_digital_read2" id="+HuxtKTp[M;Zo,GYlewK"><value name="PIN"><shadow type="pins_digital" id=").xs~PIR;gy#skK6`}R,"><field name="PIN">8</field></shadow></value></block></value></block></value><next><block type="inout_digital_write2" id="lq`L}hXJBl1Rc$%NAMAk"><value name="PIN"><shadow type="pins_digital" id="k#$R0etG;=a{yI?xSMd*"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="4u6}a`:xYB@D,#W#i(@/"><field name="BOOL">LOW</field></shadow></value><next><block type="controls_whileUntil" id=".l$ecMFP~UTCG}u719e1"><field name="MODE">WHILE</field><value name="BOOL"><shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="*3]Bw29ecnR-W/;LyZ%2"><field name="BOOL">TRUE</field></shadow><block type="inout_digital_read2" id="9b;#m,5ML=OG1K_C(YD:"><value name="PIN"><shadow type="pins_digital" id="zt9CGoEEbI~i}QSd1TA%"><field name="PIN">2</field></shadow></value></block></value><statement name="DO"><block type="controls_delay" id="04_0Hs1jgeWqBFcBRq,%"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="6ZXG?G5r)V3Epj#TOASG"><field name="NUM">10</field></shadow></value></block></statement></block></next></block></next></block></statement><next><block type="controls_if" id="v!@CoX%N|F,2kc`9V74{"><value name="IF0"><block type="inout_digital_read2" id="=wVvm%KeB}wh#5Yu4G1h"><value name="PIN"><shadow type="pins_digital" id="[Q6q8V)v=QbNs/:=S^!P"><field name="PIN">4</field></shadow></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="TF|/.9@+0O(2r((S#L(("><value name="PIN"><shadow type="pins_digital" id="h}ID:ijBO5]*vMJ%lSe%"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="?Ivbs#@Rj+0hk{o}D:ne"><field name="BOOL">HIGH</field></shadow><block type="logic_negate" id="=_Y~LT|XP%2%?$CO4)ej"><value name="BOOL"><block type="inout_digital_read2" id="v1rO(RcVm[`FZGF0bGd."><value name="PIN"><shadow type="pins_digital" id="2JRqA$(:`,aX`U]k7^=="><field name="PIN">9</field></shadow></value></block></value></block></value><next><block type="inout_digital_write2" id="ikAuEX}|LKxAc~LU;!NS"><value name="PIN"><shadow type="pins_digital" id=";,lfHGjFH^7WuurjzJ/!"><field name="PIN">8</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="i@$Ma_)`^QF(@JiF3eff"><field name="BOOL">LOW</field></shadow></value><next><block type="controls_whileUntil" id="p#_I;sdxtb@wj~OY!`6{"><field name="MODE">WHILE</field><value name="BOOL"><shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="*3]Bw29ecnR-W/;LyZ%2"><field name="BOOL">TRUE</field></shadow><block type="inout_digital_read2" id="QTEo#;[;WQR0`Bkd%Rnq"><value name="PIN"><shadow type="pins_digital" id="eB^oHy)WdG1hyF4?Oo}("><field name="PIN">4</field></shadow></value></block></value><statement name="DO"><block type="controls_delay" id=")KPFNZv-;.LkK6!:tkAf"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="A2LY:S/#P1FEhMZf5+vg"><field name="NUM">10</field></shadow></value></block></statement></block></next></block></next></block></statement></block></next></block></xml>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino Nano w/ ATmega328P (old bootloader)" xmlns="http://www.w3.org/1999/xhtml"><block type="inout_digital_write2" id="]z;xUI$)V3sY+XGU1A!o" x="406" y="151"><value name="PIN"><shadow type="pins_digital" id=".P$Aj}Gmb$.F1`M#m:p)"><field name="PIN">8</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="UWkP5_R?+^,!}N*iT@[6"><field name="BOOL">HIGH</field></shadow></value><next><block type="inout_digital_write2" id="IDD1_~_|-7)54)beZ`Q0"><value name="PIN"><shadow type="pins_digital" id="~v{q_7/kI($!6TZl)$h{"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="Q=_s1v[eppp^(ILs.wmu"><field name="BOOL">LOW</field></shadow></value><next><block type="controls_delay" id="g|%v$3U9FsKda/=4yv_S"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="FwsqfrxZ^X$6sPcL75bb"><field name="NUM">1000</field></shadow></value><next><block type="inout_digital_write2" id="G$^?/#,nj5Y*L90Pd6kI"><value name="PIN"><shadow type="pins_digital" id="Jm3X~CuC$@Oed#)1ZhvR"><field name="PIN">8</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="4^U_IgL_gJ3S@E$)xz(*"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="1nt*oGo#gzJIwgu.R:o^"><value name="PIN"><shadow type="pins_digital" id="veQgGvb4fPo79c3SNNlk"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="bBM,5}v82=rgj6Z,!c}k"><field name="BOOL">HIGH</field></shadow></value><next><block type="controls_delay" id="x2C8RjI.FkJLwC5|7!V9"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="@i#S-.Z0Vfmx2-$wvSE."><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></xml>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<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="v-VY+Z)M(I0lJw^GyQ0K" x="0" y="0"><statement name="DO"><block type="variables_declare" id="dIYY}w2t,5fFMBs-OLz4"><field name="variables_type">global_variate</field><field name="VAR">light</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="!E2-g8ot[:h_c[`m)%[="><field name="NUM">0</field></block></value></block></statement></block><block type="variables_set" id="ed`0wx]pbhY(yL5[~xI4" x="0" y="92"><field name="VAR">light</field><value name="VALUE"><block type="base_map" id="X(kk8XGzFSA]JE!ce}Ly"><field name="maptype">map_int</field><value name="NUM"><block type="inout_analog_read" id="p?ag?z_+=/q0xPVXU[bY"><value name="PIN"><shadow type="pins_analog" id="^PpyjqAm5YrSeZ}ubf._"><field name="PIN">A0</field></shadow></value></block></value><value name="fromLow"><shadow type="math_number" id="8G3al7Cl[,qq{SxbKI=S"><field name="NUM">0</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="2r^|QQJu?~bCZrLrfJJU"><field name="NUM">1023</field></shadow></value><value name="toLow"><shadow type="math_number" id="8~?I:Fm0xaT46=Y!L;25"><field name="NUM">0</field></shadow></value><value name="toHigh"><shadow type="math_number" id="IWjEBm7J**~H(!FJ%t43"><field name="NUM">255</field></shadow></value></block></value><next><block type="inout_analog_write" id="hA0kCs(%=f?i*hdA51qV"><value name="PIN"><shadow type="pins_pwm" id="0UUwS@==sxUy0$?[6+jS"><field name="PIN">10</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="?6V)vVgsN/,t%]3|I4*c"><field name="NUM">0</field></shadow><block type="variables_get" id="A}|643isOB8q8CccZd2w"><field name="VAR">light</field></block></value><next><block type="inout_analog_write" id="nm/Owlb=^}%`i0SRCozl"><value name="PIN"><shadow type="pins_pwm" id="6F;gw?XE1hB7`m[c}7WI"><field name="PIN">11</field></shadow></value><value name="NUM"><shadow type="math_number" id="fyoM17(ZQJ?6@+mM2qqV"><field name="NUM">0</field></shadow></value><next><block type="inout_analog_write" id="n5Gh)Hx8cE#^Y2cL1tKR"><value name="PIN"><shadow type="pins_pwm" id="Q*6tJ3E(_^H7MLRaEe$("><field name="PIN">5</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="g~wZZnfFK|m5bJc@loC`"><field name="NUM">0</field></shadow><block type="variables_get" id="{q?Q4oPWHDdi,!{g_J0_"><field name="VAR">light</field></block></value></block></next></block></next></block></next></block></xml>
|
||||
Reference in New Issue
Block a user