feat: sync arduino and python board configurations

This commit is contained in:
yczpf2019
2026-01-24 16:13:38 +08:00
parent 01b756fed8
commit c6dc5537f0
851 changed files with 47772 additions and 0 deletions

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="%7/$M@N7uVYD-9;Xoanp" x="87" y="81"><field name="VALUE">D13连接LED\nLED将亮一秒灭一秒</field><next><block type="inout_digital_write2" id="5I?mY;XLB5aG+8WQF0,N"><value name="PIN"><shadow type="pins_digital" id=".u:BArqSJAoy%~)@9e~J"><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="NgqfKpDv_U+=W,Sq9p8K"><field name="BOOL">HIGH</field></shadow></value><next><block type="base_delay" id="/VC4xT5Q1rM([Y)@cHHB"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="5W.@`n(d/Aaz~aF4tDFo"><field name="NUM">1000</field></shadow></value><next><block type="inout_digital_write2" id="D4AK_(3XazX9:BJJzzQz"><value name="PIN"><shadow type="pins_digital" id="``4Ml5j3KOKJy2fV_0QC"><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="~;WUPDI?EJdru+wEQ~x6"><field name="BOOL">LOW</field></shadow></value><next><block type="base_delay" id="Mo2XM8LM3X#6c/mAD+TN"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="KGw3x~Ye;u:LqJY4#WsN"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="$þi_`;z-VGa+{bL=GH" x="-264" y="115"><field name="VALUE">D2接按钮D13接LED。\n按下按钮产生高电平点亮LED。\n松开按钮产生低电平熄灭LED。</field><next><block type="inout_digital_write2" id="_3sjo{/2bf,.Q)eYm#HU"><value name="PIN"><shadow type="pins_digital" id="jP:`Dt1p)5#wSHC#z@E."><field name="PIN">13</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="303~O#-j1HPeBpC!xW3D"><field name="BOOL">HIGH</field></shadow><block type="inout_digital_read2" id="WHcs.@LmLv%Sh70uE+Y?"><value name="PIN"><shadow type="pins_digital" id=";#0I9(~NtIUpU=#FW|lE"><field name="PIN">2</field></shadow></value></block></value></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="Za_v4_@(D7[bA+rgal2l" x="-424" y="47"><field name="VALUE">A0接电位器D3接LED。\n调节电位器LED灯随电位器转动改变亮度。</field><next><block type="inout_analog_write" id="P^oj@5C90vJf]vY-=z8?"><value name="PIN"><shadow type="pins_pwm" id="w@V@Vg`3i_L/h{v]ZboN"><field name="PIN">3</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="2gc+GDaPe[T}qXzB1Ha["><field name="NUM">0</field></shadow><block type="math_arithmetic" id="3*E_5tsDr0{qDgQvDY)/"><field name="OP">DIVIDE</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="-(im|Jt2c0ydUhJl1w/W"><field name="NUM">1</field></shadow><block type="inout_analog_read" id="5WHgd@[1uUXs,$6^lUA7"><value name="PIN"><shadow type="pins_analog" id="`%Z`J/Z:.)IDwf|}F;dt"><field name="PIN">A0</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="C{GMjPoS/hLR6]TatmrE"><field name="NUM">4</field></shadow></value></block></value></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="-qABfA./d?eWD(`kIwgp" x="0" y="0"><field name="VALUE">D2上连接按钮\n将看到单击、双击、长按开始、长按中、长按结束在串口输出不同的提示语。</field></block><block type="OneButton_interrupt" id="}f_O5n}224:2XXq|:Nr*" x="0" y="85"><field name="mode">attachClick</field><value name="PIN"><shadow type="pins_digital" id="!oL_(.$Hz6x$Zq/e4LY?"><field name="PIN">2</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="ECY;UvUV6Ay_NwL8Fv;l"><field name="BOOL">HIGH</field></shadow></value><statement name="DO"><block type="serial_println" id="pc$Q)/3ryJz;.v|%jX2)"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id=".`^9ZO88n_YCcZwiI[9`"><field name="TEXT">one Click</field></block></value></block></statement></block><block type="OneButton_interrupt" id="^920H]~0ot{VcPzlnA2n" x="0" y="189"><field name="mode">attachDoubleClick</field><value name="PIN"><shadow type="pins_digital" id="^fu}Et-.O2}P)rOr/-0M"><field name="PIN">2</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="4,h`uVVTpS|$hS%(QCed"><field name="BOOL">HIGH</field></shadow></value><statement name="DO"><block type="serial_println" id="F/OZ|aF#,!+CQ,;xY9[Y"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="d+Zse%0=v9;!]N,1Dwco"><field name="TEXT">double Click</field></block></value></block></statement></block><block type="OneButton_interrupt" id="3fNVB6AeS7sH5@ox-uRe" x="0" y="293"><field name="mode">attachLongPressStart</field><value name="PIN"><shadow type="pins_digital" id="H(%2WW:M7:dYa9BltoUJ"><field name="PIN">2</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="(hH#.Y6jL;5+NZIMu{M^"><field name="BOOL">HIGH</field></shadow></value><statement name="DO"><block type="serial_println" id=";S;y^6kLB#}2BbYiA{y-"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="CJ^%VV3DuC=Ov!xGRZ5."><field name="TEXT">longPress Start</field></block></value></block></statement></block><block type="OneButton_interrupt" id="h_yWQeXR~NDsaNMDzwdZ" x="0" y="397"><field name="mode">attachDuringLongPress</field><value name="PIN"><shadow type="pins_digital" id="Lg4txf7TGpE!=A`VcK~%"><field name="PIN">2</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="}K]z+{et/J[^XW?|4vSv"><field name="BOOL">HIGH</field></shadow></value><statement name="DO"><block type="serial_println" id="FPb~%[z3!hN`[snD,k{k"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="tM}AuTQ;INcv9wTZ^Q`M"><field name="TEXT">longPressing</field></block></value></block></statement></block><block type="OneButton_interrupt" id=",FlrUSEXy--7Gv}0+;ur" x="0" y="501"><field name="mode">attachLongPressStop</field><value name="PIN"><shadow type="pins_digital" id="[6,NG[Mb]=fC~q8g~Df+"><field name="PIN">2</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="bL)4hEJ?JCxG~nA6)Qi4"><field name="BOOL">HIGH</field></shadow></value><statement name="DO"><block type="serial_println" id="$#CS)#.uhGElO*`S^=Yb"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="RIXw2g^MtE!YA=K:sQ2_"><field name="TEXT">longPress End</field></block></value></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="v)MT}Dct]P130YkSVq3C" x="0" y="0"><field name="VALUE">硬件中断\nD2连接按钮D12连接LED。\n按下按钮LED灯点亮。\n再次按下按钮LED灯熄灭。如此往复。</field></block><block type="base_setup" id="wZXYB!R2R{@1*M1+tdv2" x="0" y="125"><statement name="DO"><block type="controls_attachInterrupt" id="Sr-*1#DV!rHf1nCy6H[Y"><field name="mode">RISING</field><value name="PIN"><shadow type="pins_interrupt" id="13%-H+9.iRg5SEcGMqj6"><field name="PIN">2</field></shadow></value><statement name="DO"><block type="inout_digital_write2" id="gO~;SN|yASiQ=Fde:il@"><value name="PIN"><shadow type="pins_digital" id="D)Xc9*d4kx+^dZ-bYzjb"><field name="PIN">12</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id=";_4MaL98h]t}2L]!R4S]"><field name="BOOL">HIGH</field></shadow><block type="logic_negate" id="Rqt,xFN-_*uphvdJm~q^"><value name="BOOL"><block type="inout_digital_read2" id="^}U:fN*nYHG1FG51IB[6"><value name="PIN"><shadow type="pins_digital" id="*~`3S%8rfAa!CE9E9Dg7"><field name="PIN">12</field></shadow></value></block></value></block></value></block></statement></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id=".j3YgQW3wV=4`uA`I1Vr" x="0" y="0"><field name="VALUE">软件中断\n\nD4连接按钮D12连接LED。\n将看到按钮被按下LED灯亮灭切换。</field></block><block type="base_setup" id="WuzzT{pjb],,.!#NwDMc" x="0" y="125"><statement name="DO"><block type="controls_attachPinInterrupt" id="`Q`Sq,Y#;DsiRPRa{{qm"><field name="mode">FALLING</field><value name="PIN"><shadow type="pins_digital" id="f6g.$b*FoSiss5`D|SoK"><field name="PIN">4</field></shadow></value><statement name="DO"><block type="inout_digital_write2" id="n!Z0b=b+7rY{We`l8:Qo"><value name="PIN"><shadow type="pins_digital" id="j7NVjtcC2*$J_6A@H!CY"><field name="PIN">12</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="{d/Lz+v|.e%/5|AB8Ux="><field name="BOOL">HIGH</field></shadow><block type="logic_negate" id="VLna2#3*e}2[a!oD`Xn0"><value name="BOOL"><block type="inout_digital_read2" id=")9C^/1UhrVNCnd5VXQYE"><value name="PIN"><shadow type="pins_digital" id="kaL#=paLrfn)Z$?8FM+j"><field name="PIN">12</field></shadow></value></block></value></block></value></block></statement></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="W#8dF_x;U@SNrzk[Cvo-" x="-34" y="150"><field name="VALUE">A1连接声音传感器D11连接LED灯。\n先通过串口输出A1的模拟值观察声音值大小。\n当声音传感器的模拟值大于300时点亮11引脚的LED灯1秒否则熄灭LED。</field><next><block type="serial_begin" id="Cty8^9}RR`Y@%nFE._"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="gMxFn;x.7JE=5p|eHzX:"><field name="NUM">9600</field></shadow></value><next><block type="serial_println" id="w?w=YA!?eE:J:MfP[Q(u"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="inout_analog_read" id="wpI69.3FLwHPPZF[#GJe"><value name="PIN"><shadow type="pins_analog" id="e_/?RL!4I=Z#LdrPg~#F"><field name="PIN">A1</field></shadow></value></block></value><next><block type="controls_if" id="dRSIh)3Y+qiuq%tM#^mh"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id=".?my,OTJ`[oF(r+_/L7b"><field name="OP">GT</field><value name="A"><block type="inout_analog_read" id="ktK,]Ti0kB7O#)`]!9rH"><value name="PIN"><shadow type="pins_analog" id="/t2D+DEXcN?hzbed~Ysa"><field name="PIN">A1</field></shadow></value></block></value><value name="B"><block type="math_number" id="`Gr[zml/ltXQEd/H^=Eu"><field name="NUM">300</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="=b7hlVa9xt{w0F{%Y(d}"><value name="PIN"><shadow type="pins_digital" id="in9dmts4O^L+(DQ1Y4lw"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="0WUTA//*3Jt{hm{k|?nf"><field name="BOOL">HIGH</field></shadow></value><next><block type="base_delay" id="CVZ;+|.dn;[QsU4)?=6."><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="KWiJwGv5JMTzV1n+uS.H"><field name="NUM">1000</field></shadow></value></block></next></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="wiL0n;#%S¾9t;U##;8"><value name="PIN"><shadow type="pins_digital" id="QkZ^=WxlF-nijDai#=tM"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="7/V}@4^8a4_wOq|ei.D}"><field name="BOOL">LOW</field></shadow></value></block></statement></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="}5vt7]DJj#krIVoVW5B}" x="-1151" y="-156"><field name="VALUE">D3连接蜂鸣器\n在串口监视器中将看到高电平的脉冲周期</field><next><block type="serial_begin" id=".{(7Pnc*ml{|WNv4HCpO"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="ZksQo`sZwdR`sr*rlZS?"><field name="NUM">9600</field></shadow></value><next><block type="controls_tone" id="52%whi3L!R.w]fBL*H^h"><value name="PIN"><shadow type="pins_digital" id="qJ,wHR;1d^VR!P@WW(L_"><field name="PIN">3</field></shadow></value><value name="FREQUENCY"><shadow type="tone_notes" id="=$?8I@M,g+R@DMLsJ]UN"><field name="STAT">131</field></shadow></value><next><block type="serial_println" id="!vwG^kX~|XC-X{G=P+}L"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="inout_pulseIn" id="}R~xk:5_.~PTs,ZjgL0j"><field name="STAT">HIGH</field><value name="PIN"><shadow type="pins_digital" id="s`zzL!t%x[tn6fBmIYjr"><field name="PIN">3</field></shadow></value></block></value><next><block type="serial_println" id="GEQWh`h|R!u2]5vUiaxe"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="inout_pulseIn2" id="-Ty%YY%N4YJDT[JjW_2C"><field name="STAT">HIGH</field><value name="PIN"><shadow type="pins_digital" id="Sl.[,qfJXp+.3Me7y1Aa"><field name="PIN">3</field></shadow></value><value name="TIMEOUT"><shadow type="math_number" id="amSJXZ=gZ6lTw7v1m[X0"><field name="NUM">1000000</field></shadow></value></block></value><next><block type="controls_delay" id="}l3b1BL/7lv;e,wLF5Gb"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="$u.`1Fp|m1[4qVN[b2;`"><field name="NUM">1000</field></shadow></value><next><block type="serial_println" id="_q(0F{V[lHEA|$b@W$[m"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="37c:[jYF@;w~`rQ$EP(v"><field name="TEXT">***********************************************************</field></block></value><next><block type="controls_notone" id="aE{xg~BN89Nvl7O?Hu)x"><value name="PIN"><shadow type="pins_digital" id="+ou])@MS`EJgKn7c{/37"><field name="PIN">3</field></shadow></value><next><block type="controls_delay" id="O|E@ds]y[eYNkJC.2jeR"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="}%i}Y10l|mbgv2ACz3/Z"><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>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="controls_for" id="-E|,x{YX(eFJY_#*1Oqj" x="106" y="191"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="v1f9r*croH.0u/R5spgD"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id=".P~^60_ED*+r=i}R5g6n"><field name="NUM">255</field></shadow></value><value name="STEP"><shadow type="math_number" id="iY.]4mt)Le~9q53Q1xDv"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="inout_soft_analog_write" id="qEOY2/1t#5b57dB{gXFj"><value name="PIN"><shadow type="pins_digital" id="S]R=WbHh@U3wOk#c%rx*"><field name="PIN">13</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="CKcbol6F,%~M!8RPMV}L"><field name="NUM">255</field></shadow><block type="variables_get" id="7E%YK;VP2-Q:A^-^;{}+"><field name="VAR">i</field></block></value><next><block type="controls_delay" id="%Ov0TG^[M5[a3_[~UzjY"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="Zi0G_I#Rz;L5!#(/Zgc)"><field name="NUM">5</field></shadow></value></block></next></block></statement><next><block type="controls_for" id="Zsu/FwknNHrT~|=76vdg"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="(lk31;1-2f|l)70?i2j0"><field name="NUM">254</field></shadow></value><value name="TO"><shadow type="math_number" id="F?,Jb[9!K]*.zI@x-haY"><field name="NUM">1</field></shadow></value><value name="STEP"><shadow type="math_number" id="uFtD43nnp4x`$qi9lX[C"><field name="NUM">-1</field></shadow></value><statement name="DO"><block type="inout_soft_analog_write" id="I0pShU;aE!).n:7$qUD1"><value name="PIN"><shadow type="pins_digital" id="1YPNr#4vxG[=O^lxn@z`"><field name="PIN">13</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="CKcbol6F,%~M!8RPMV}L"><field name="NUM">255</field></shadow><block type="variables_get" id="YbTQ|2ApKlGRm4HV|E:B"><field name="VAR">i</field></block></value><next><block type="controls_delay" id="V[!uU7D[2}M;/tS|(E%;"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="qMVodeJh4]I15AamwsAG"><field name="NUM">5</field></shadow></value></block></next></block></statement></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="igiz?e):w#HplBjsO%%v" x="-1855" y="-195"><statement name="DO"><block type="lists_create_with_text2" id="L8($P=wD.ArJw|~~C)$;"><field name="TYPE">byte</field><field name="VAR">mylist</field><field name="SIZE">11</field><field name="TEXT">0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90</field></block></statement></block><block type="factory_notes" id="Y$yR`jMTSv7=79lWzOh6" x="-1856" y="-92"><field name="VALUE">D8连接到74HC595芯片的使能引脚\nD3连接到74HC595芯片的时钟引脚\nD9连接到74HC595芯片的数据引脚\n利用ShiftOut模块实现单位数码管的随机数字骰子</field><next><block type="controls_for" id="Q/N_N1AHAckzK[O={l7o"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="Cbc;^U3-,~(-H:8_~8yQ"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="tOu34.?W39C-s,SRSQ[u"><field name="NUM">5</field></shadow></value><value name="STEP"><shadow type="math_number" id="^2a7dFgb;nB2mH#{`E@k"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="inout_digital_write2" id="pT;vH8m#iL]*Rr:n#RX7"><value name="PIN"><shadow type="pins_digital" id="_|@jzNFq+RSAFAy:*qal"><field name="PIN">8</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="qgd^CoU`o}VkohX}iuVA"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_shiftout" id="bD/r^6^|tfpW^1XU+;r."><field name="ORDER">MSBFIRST</field><value name="PIN1"><shadow type="pins_digital" id="M)[u7CK2rfny|s7R+hnJ"><field name="PIN">9</field></shadow></value><value name="PIN2"><shadow type="pins_digital" id="6D^qh3A/bAU[-uDvE^N}"><field name="PIN">3</field></shadow></value><value name="DATA"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="++{T3frtZU2d1h/7)Bb?"><field name="NUM">0</field></shadow><block type="lists_getIndex" id="zwai_-(Ur0%Nuij{x/3v"><field name="VAR">mylist</field><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="4h8sw|vHIA-Xls;aKniO"><field name="NUM">1</field></shadow><block type="math_random_int" id="EUtItk]X[+N7TIE}rRk`"><value name="FROM"><shadow type="math_number" id="4l`c=][n7P!3Ns(V=9G3"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="^SCoo7*7YU(Zd4^lsy[c"><field name="NUM">10</field></shadow></value></block></value></block></value><next><block type="inout_digital_write2" id="96IMy*+5{7e*Fs;t51iH"><value name="PIN"><shadow type="pins_digital" id=":ND]MB0O::y_1hoYA+lS"><field name="PIN">8</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="/5S`OgGs6Pov,x`)~h2a"><field name="BOOL">HIGH</field></shadow></value><next><block type="controls_delay" id="yY}-R/!02GFA`@l-h#?J"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="$ZV/awIZe9=61y(6:!+K"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></statement></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="YP:L9EuH64jex9U3d)`N" x="-1136" y="-392"><statement name="DO"><block type="lists_create_with_text2" id="ZC9WyxxooVYf00kr57hU"><field name="TYPE">int</field><field name="VAR">Light</field><field name="SIZE">9</field><field name="TEXT">1,2,4,8,16,32,64,128,256</field></block></statement></block><block type="factory_notes" id="Y$yR`jMTSv7=79lWzOh6" x="-1162" y="-283"><field name="VALUE">D8连接到74HC595芯片的使能引脚\nD12连接到74HC595芯片的时钟引脚\nD11连接到74HC595芯片的数据引脚\n实现8个LED的流水灯效果</field><next><block type="controls_for" id="A[Q3{)XC{j+FQ+J;uHLX"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="e)HZZ*.e*Ot?%_.1*?m9"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="EHXwf@PV;Jy-k)niG*Qd"><field name="NUM">8</field></shadow></value><value name="STEP"><shadow type="math_number" id="~E~~ay{VLSH}.Y%`-Ie6"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="inout_digital_write2" id="aDu?1$]z[K/k,gJUDr]*"><value name="PIN"><shadow type="pins_digital" id="q?NCDdCWCG*H#AWbsbO7"><field name="PIN">8</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="xkx%pE@=`hDOQaKvwcY("><field name="BOOL">LOW</field></shadow></value><next><block type="inout_shiftout" id="qRvsqRaa!5k(Kv1Q36}T"><field name="ORDER">MSBFIRST</field><value name="PIN1"><shadow type="pins_digital" id="Y!QDa6ioUX!j$nqNzP7i"><field name="PIN">11</field></shadow></value><value name="PIN2"><shadow type="pins_digital" id="]0:V8q]aOqoQPQDaPOeb"><field name="PIN">12</field></shadow></value><value name="DATA"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="P)G,(nMDuuLgcsP;moHX"><field name="NUM">0</field></shadow><block type="lists_getIndex" id="dt]pgJRC{pLRg5=F6MAJ"><field name="VAR">Light</field><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="-iO:-|g;)$PhW!DOQCZ6"><field name="NUM">1</field></shadow><block type="variables_get" id="k|9Hd0SRY~wu8t*EU,gz"><field name="VAR">i</field></block></value></block></value><next><block type="inout_digital_write2" id="Q~k$mlYF82wHK097iy^)"><value name="PIN"><shadow type="pins_digital" id="ia|eO/AW5lMkCl^GYGW+"><field name="PIN">8</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="_v#G7K{j()ys,O6)O+:Z"><field name="BOOL">HIGH</field></shadow></value><next><block type="controls_delay" id="6Yl^.FmIT^V/r-2mv^Ch"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="LT80mn#mmTCBu1XuJ/9;"><field name="NUM">1000</field></shadow></value><next><block type="inout_digital_write2" id="Az.sB;{S@0,Inlxb{]K9"><value name="PIN"><shadow type="pins_digital" id="VX1s-%z$}/#oa)DV6z)$"><field name="PIN">8</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="|t=;|*yxVALibLklm9fr"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_shiftout" id="+l2P~Rn)`G}CtvjS_tt*"><field name="ORDER">MSBFIRST</field><value name="PIN1"><shadow type="pins_digital" id="K6n]wf3sWaVP0.ehEB:L"><field name="PIN">11</field></shadow></value><value name="PIN2"><shadow type="pins_digital" id="*jHY5vvRpZx5atF6=ei."><field name="PIN">12</field></shadow></value><value name="DATA"><shadow type="math_number" id="y^3w/eQ+D9YZ5puUo)"><field name="NUM">0</field></shadow></value><next><block type="inout_digital_write2" id="fT=WB[a/L):_jQup3UNC"><value name="PIN"><shadow type="pins_digital" id="Y~)xTCZQ*nFT2sb?6,+E"><field name="PIN">8</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="uVdxnA/1B:N#Az:DY:ed"><field name="BOOL">HIGH</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="fx.tMK3Mp-F:gO98b.{M" x="0" y="0"><field name="VALUE">D13连接LED。\n在初始化内的程序\n只会在硬件上电后执行一次\n一般用来放初始化设置程序。</field></block><block type="base_setup" id="M41Ca~txmdyL=m{y!@1/" x="0" y="125"><statement name="DO"><block type="inout_digital_write2" id="#!t2#L)F#SwB:p2:]kD;"><value name="PIN"><shadow type="pins_digital" id="y5gM/fre}!!`c[#kFG|g"><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="0P`{XGay()kC;A6w:8ax"><field name="BOOL">HIGH</field></shadow></value><next><block type="controls_delay" id="sQ6rToqql,q6iY}4Y8P,"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="(5;}h$x2P6c[K,-$bYA("><field name="NUM">1000</field></shadow></value><next><block type="inout_digital_write2" id="3%U{^MF_ROJm_}qLBVP-"><value name="PIN"><shadow type="pins_digital" id="zByWH{/[6-wU_|qd%lH("><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="Ew}xmogL~$`)X=,+((DX"><field name="BOOL">LOW</field></shadow></value><next><block type="controls_delay" id="}@P)G[bVgbo45BtQg)dv"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id=";TgerMk/D?DDmc!bJ{NV"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="lCJZ7n8*-UoexFf+!*fK" x="-120" y="59"><field name="VALUE">D5-D13接LED灯\n用循环结构来实现流水灯效果</field><next><block type="controls_for" id="Qa,vGGq/tiwt=[Qytxpm"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="n,Mm[pP5#)nlaqch1;:5"><field name="NUM">5</field></shadow></value><value name="TO"><shadow type="math_number" id="!)LQW6h^QyBv@R%/dZ_9"><field name="NUM">13</field></shadow></value><value name="STEP"><shadow type="math_number" id="q`z|iL8bCyCe[*m8u5+t"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="inout_digital_write2" id="Mbh8=47nE;%o9rj?#9{="><value name="PIN"><shadow xmlns="http://www.w3.org/1999/xhtml" type="pins_digital" id="2i23T;,t`QhYXfNB/DuE"><field name="PIN">10</field></shadow><block type="variables_get" id="JucAL=jOZIm6a7_hglMl"><field name="VAR">i</field></block></value><value name="STAT"><shadow type="inout_highlow" id="F+J#+S?#fn/8lNpAl0aV"><field name="BOOL">HIGH</field></shadow></value><next><block type="base_delay" id="^vndshs]x1MRmTAgQw2t"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="DzusC,dM8Pit|g4,PHwL"><field name="NUM">1000</field></shadow></value><next><block type="inout_digital_write2" id="l,.!`saRsImgQwIjMlW0"><value name="PIN"><shadow xmlns="http://www.w3.org/1999/xhtml" type="pins_digital" id="1XChT6~z}v*+kC+9xa0,"><field name="PIN">10</field></shadow><block type="variables_get" id="=XGdRb+SldN?=hq+If9?"><field name="VAR">i</field></block></value><value name="STAT"><shadow type="inout_highlow" id="Dy_km`Yvy*X=j~|4;U%^"><field name="BOOL">LOW</field></shadow></value><next><block type="base_delay" id="YNMN?2m~}k=`G/-X%HK9"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="#g!9gA^d4n:%=(qkXb.]"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></statement></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="ByGnom]5$%;#v]ol3bxR" x="182" y="216"><field name="VALUE">D7连接按钮\n按钮按下时串口输出提示语“D7 is HIGH”</field><next><block type="serial_begin" id="XY3;-e*k(6^}v0k|1%Jx"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="u];2q{0e,g3~bywqPQMI"><field name="NUM">9600</field></shadow></value><next><block type="controls_whileUntil" id=".k:OO#hs_Uss~!~ePdaL"><field name="MODE">WHILE</field><value name="BOOL"><shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id="Iq=sb1Ih8N)M-iOqdXTm"><field name="BOOL">TRUE</field></shadow><block type="inout_digital_read2" id="(=G~~.i-.mX8{!Xe;fyt"><value name="PIN"><shadow type="pins_digital" id="Z.8;{J#A1X!tm-us+gE!"><field name="PIN">7</field></shadow></value></block></value><statement name="DO"><block type="serial_println" id="?4PP;LS7yM{Kem.[?Myh"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="oaXgjm5F[lf_Jt:.U5|1"><field name="TEXT">D7 is HIGH</field></block></value></block></statement></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="e2v=iH.N4lJBVsIUE5[Q" x="-431" y="-180"><field name="VALUE">D2连接按钮D12连接LED\n按下按钮LED亮3秒然后熄灭。</field><next><block type="controls_if" id="dR3W+Bup*dZ+IsQrSQCf"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="inout_digital_read2" id=";%dR?8,W/hCY-lp|K#-r"><value name="PIN"><shadow type="pins_digital" id="{NX?F{?I4QR*pHUUX7j{"><field name="PIN">2</field></shadow></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="t`n+L^?}ZLX)~Cw3v=.{"><value name="PIN"><shadow type="pins_digital" id="@2l(Gso3]CZ0J*zMEJa2"><field name="PIN">12</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="J-5cufzT3+J9Ze[iQ,pU"><field name="BOOL">HIGH</field></shadow></value><next><block type="base_delay" id="k,dQXge3#jSsFiZJrSN+"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="nGVe4:8C7-uGqRk?H)R]"><field name="NUM">3000</field></shadow></value></block></next></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="8?L8Dh[)baeaz+.)b,Xv"><value name="PIN"><shadow type="pins_digital" id="-v3w+m2@br0;3B(UAvN["><field name="PIN">12</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="+iW]yPHZ;U0Bb|SCzuU?"><field name="BOOL">LOW</field></shadow></value></block></statement></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="Iq3KhN3WM$@.e#D%fnUH" x="0" y="0"><field name="VALUE">D12连接LED\n每隔500ms切换亮灭效果</field></block><block type="base_setup" id="*](F}Au!RAeas|p#G7vk" x="0" y="85"><statement name="DO"><block type="controls_mstimer2" id="f+j)Z1L{BTbBfcCXjhsg"><value name="TIME"><shadow type="math_number" id=",=l8os)Ae$f`HT{O|.)U"><field name="NUM">500</field></shadow></value><statement name="DO"><block type="inout_digital_write2" id="[K1BXhMV~|AK^^2]kzEF"><value name="PIN"><shadow type="pins_digital" id="0{XS?.EM|!qYddr/JxPn"><field name="PIN">12</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="J+wZCZ9vCi$M[u^6c]3@"><field name="BOOL">HIGH</field></shadow><block type="logic_negate" id="@-*_!D=Gwx.Q!QJp*0{)"><value name="BOOL"><block type="inout_digital_read2" id="jhqkwk_,?O3+FhkR;)e("><value name="PIN"><shadow type="pins_digital" id="^.gu~73L?z6GgK*QDLU#"><field name="PIN">12</field></shadow></value></block></value></block></value></block></statement><next><block type="controls_mstimer2_start" id="MIYoNm13sFc}bA`|2mBh"></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="_2v!q$ffbws$F#p1U!d{" x="0" y="0"><field name="VALUE">D12,D13分别连接LED灯\n每隔200msD12引脚LED灯切换亮灭\n每隔300ms,D13引脚LED灯切换亮灭\n简单定时器常用于多任务处理</field></block><block type="simple_timer" id="8a-cE*R-,)q*z$J^*UYF" x="0" y="125"><field name="NO">1</field><value name="timein"><shadow type="math_number" id="Rmo`fsb%j^Xp3g*[mqIu"><field name="NUM">200</field></shadow></value><statement name="zxhs"><block type="inout_digital_write2" id="1?N!cFw+WUCOcq:5q|v]"><value name="PIN"><shadow type="pins_digital" id="/O.E1Ln2o^,u(XHBGTh2"><field name="PIN">12</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="SOuS},cI|/1[X-Z6pa-O"><field name="BOOL">HIGH</field></shadow><block type="logic_negate" id="+8Fc5Q==2(Xg#;oyp=0Q"><value name="BOOL"><block type="inout_digital_read2" id="aOGRjB]BvN2f0kg)cZ.X"><value name="PIN"><shadow type="pins_digital" id="Sl/~A?Y,$2O#TNH8p:/x"><field name="PIN">12</field></shadow></value></block></value></block></value></block></statement></block><block type="simple_timer" id="=IygVs#+.#^ykCQa(;SX" x="0" y="251"><field name="NO">2</field><value name="timein"><shadow type="math_number" id="hT*1Gw#f``*+O-H9uUWT"><field name="NUM">300</field></shadow></value><statement name="zxhs"><block type="inout_digital_write2" id="{[5!jD][ah2ZImeg9piV"><value name="PIN"><shadow type="pins_digital" id="K}S@:9t{yg:8YNSs(0L("><field name="PIN">13</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="SOuS},cI|/1[X-Z6pa-O"><field name="BOOL">HIGH</field></shadow><block type="logic_negate" id="#s477eC~iW-}}4VO(~h?"><value name="BOOL"><block type="inout_digital_read2" id="PTS%mAWk*=CsttbZfS.w"><value name="PIN"><shadow type="pins_digital" id="o7-sv((@s[+,QOd[fg3d"><field name="PIN">13</field></shadow></value></block></value></block></value></block></statement></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="`yYM50v;j}xe6nR(Uq/K" x="0" y="0"><field name="VALUE">D13,D12分别接1个LED模块\nD12的LED每隔200ms亮灭一次\nD13的LED每隔300ms亮灭一次</field></block><block type="SCoopTask" id="23Z[I?}3A2G}$_-,?cRL" x="0" y="105"><field name="_tasknum">1</field><statement name="loop"><block type="inout_digital_write2" id="jU}5S,RuRqiJmA0^$1(^"><value name="PIN"><shadow type="pins_digital" id="]Ji5=m.a(Q0[]fV9S0)@"><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="!(oeV|b[Dku8i1d]1B}!"><field name="BOOL">HIGH</field></shadow></value><next><block type="SCoop_sleep" id="M+aksAbSMnG_!1~K4A.z"><value name="sleeplength"><shadow type="math_number" id="NUPxZte%`k@zHkZ@/WF*"><field name="NUM">300</field></shadow></value><next><block type="inout_digital_write2" id="m~vZF40FVd?:sIM[6z7|"><value name="PIN"><shadow type="pins_digital" id="^^/3,:k|ny7b*0A^|jU0"><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="},)v!@TJ+Wtk*dQ,CYII"><field name="BOOL">LOW</field></shadow></value><next><block type="SCoop_sleep" id="R}/+(;8eq2w*HqfTFweJ"><value name="sleeplength"><shadow type="math_number" id="hMpB-a,M=v)9xN-:q*oQ"><field name="NUM">300</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type="SCoopTask" id="p+@q=4cflk*)/Kp{+DBE" x="0" y="354"><field name="_tasknum">2</field><statement name="loop"><block type="inout_digital_write2" id="Uf=CI?}xS;34tom~n23/"><value name="PIN"><shadow type="pins_digital" id="VKbfH[PDx^?df_ORnOm%"><field name="PIN">12</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="k^fV}IHHenLRtj?me5lK"><field name="BOOL">HIGH</field></shadow></value><next><block type="SCoop_sleep" id="[[yL7-q.P.^z+y61~^.P"><value name="sleeplength"><shadow type="math_number" id="?T$m}iG#${_}it$PIru?"><field name="NUM">200</field></shadow></value><next><block type="inout_digital_write2" id="t/?EOJ{Y=nP^sZ9j$jpV"><value name="PIN"><shadow type="pins_digital" id="wlu8EvIR^[+ao3U3]9(1"><field name="PIN">12</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="~wrGWdX3p3`kzh;0j0TU"><field name="BOOL">LOW</field></shadow></value><next><block type="SCoop_sleep" id="lIS3_XVHHsk}6x55*{9R"><value name="sleeplength"><shadow type="math_number" id="c*Rv;$6[5b4ey]wSC[91"><field name="NUM">200</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type="SCoop_yield" id="dzd@gYkj7ZcD!-$}n~lY" x="0" y="603"></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="azT8VQ]1k58TQS^AdZAb" x="-34" y="-72"><statement name="DO"><block type="factory_notes" id="fOlu_DE)v*cJ#04KC)-U"><field name="VALUE">秒表\n按钮传感器连接到D2\n第一次按下按钮开始计时再次按下按钮停止计时\n并通过串口监视器输出时间值</field><next><block type="serial_begin" id="D%EggaJ+A,ipXh.AeNpR"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="=@X{WaY_UjaV;[mq~noj"><field name="NUM">9600</field></shadow></value><next><block type="variables_declare" id="aE:G4*UURW=}l8}QBW~)"><field name="variables_type">global_variate</field><field name="VAR">startTime</field><field name="TYPE">int</field><next><block type="variables_declare" id="L|wl@VjLO!SpAA!FvqqW"><field name="variables_type">global_variate</field><field name="VAR">endTime</field><field name="TYPE">int</field><next><block type="variables_declare" id="zRFVDSU$jSmm)o5X5q.5"><field name="variables_type">global_variate</field><field name="VAR">state</field><field name="TYPE">boolean</field><value name="VALUE"><block type="logic_boolean" id="o`o$F$^bL93xFj!!/)LE"><field name="BOOL">FALSE</field></block></value><next><block type="controls_attachInterrupt" id="{oOQZfPv{9_=NaeC8-/Y"><field name="mode">RISING</field><value name="PIN"><shadow type="pins_interrupt" id="KkB5zh8DJ?2v)`GGdRU["><field name="PIN">2</field></shadow></value><statement name="DO"><block type="controls_if" id="x0}*fmYZmKu|z!RT*!4]"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id="rX#fkA{kNKXxh,:wH#JK"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="uE?`FN|!jc(O^k[%GH=w"><field name="VAR">state</field></block></value><value name="B"><block type="logic_boolean" id="tSRgm1b4-%o@(t[a3bsJ"><field name="BOOL">FALSE</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="6^(w:BwrHmO5(`:y:+K."><field name="VAR">state</field><value name="VALUE"><block type="logic_boolean" id="|-p:?Op@t$(Ln6[$|gwP"><field name="BOOL">TRUE</field></block></value><next><block type="variables_set" id="@ck=nlybobPk^|AQSLjt"><field name="VAR">startTime</field><value name="VALUE"><block type="controls_millis" id="cd$`abbC))ZMi3m8NBVG"><field name="UNIT">millis</field></block></value></block></next></block></statement><statement name="ELSE"><block type="variables_set" id="6Y_dx:QK)BJHVV#RB{X/"><field name="VAR">state</field><value name="VALUE"><block type="logic_boolean" id="@T!c,!pbafFbA^TxT~fK"><field name="BOOL">FALSE</field></block></value><next><block type="variables_set" id="xbc^t;GTC[Ph+EKWM]18"><field name="VAR">endTime</field><value name="VALUE"><block type="controls_millis" id="t@rrVKp^/tr*E[?+a}vR"><field name="UNIT">millis</field></block></value><next><block type="serial_println" id="323*=o2jfFHRH::nm8.J"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="math_arithmetic" id="8x{(XkXd@Z:h$ebhq)Fy"><field name="OP">MINUS</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="B!_OK+JYozA7Ww5kE!XZ"><field name="NUM">1</field></shadow><block type="variables_get" id="{QjI`y=F,-jyCN%Xgrlv"><field name="VAR">endTime</field></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="!!Lx%~/I@S]1qwv9Im[I"><field name="NUM">1</field></shadow><block type="variables_get" id="m]f=KMgOJ-uKRbWw5qj3"><field name="VAR">startTime</field></block></value></block></value></block></next></block></next></block></statement></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="W}~6ec~+P;mT5l+,;]fA" x="-751" y="-144"><field name="VALUE">A0连接旋转电位器D11连接LED\nLED灯随着电位器的旋转呈现在0-255区间的不同亮度</field><next><block type="variables_declare" id="Y6-*lP:W[J,}?m~(Xh7Q"><field name="variables_type">global_variate</field><field name="VAR">liangdu</field><field name="TYPE">int</field><value name="VALUE"><block type="base_map" id="@Guu~IxV,L]1~L^6fi+5"><field name="maptype">map_int</field><value name="NUM"><block type="inout_analog_read" id="AO9=*_J5_Qn#.J7RHOj@"><value name="PIN"><shadow type="pins_analog" id=",zboVYo8+MBm^T_g?pNt"><field name="PIN">A0</field></shadow></value></block></value><value name="fromLow"><shadow type="math_number" id="u6Zo@|Wr]dvvtiR-GyjU"><field name="NUM">0</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="dMS5,4+{77WYfqaASlFW"><field name="NUM">1023</field></shadow></value><value name="toLow"><shadow type="math_number" id="][I.;eA,D-XG0R-TeES]"><field name="NUM">0</field></shadow></value><value name="toHigh"><shadow type="math_number" id="B6!l`q7pv0SL`aCNv7x{"><field name="NUM">255</field></shadow></value></block></value><next><block type="inout_analog_write" id="@7=QftUxyhzeMl]L+DN*"><value name="PIN"><shadow type="pins_pwm" id="Fi7^1kk-o#AnuQ_ZWM?y"><field name="PIN">11</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="g/2y:_ga(AVq7o+1w{nO"><field name="NUM">0</field></shadow><block type="variables_get" id=",+lgv2+=qLHaI`y]fTK`"><field name="VAR">liangdu</field></block></value></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="=}ynWVr!(}h-d;yCl,X(" x="-40" y="110"><field name="VALUE">绘制SIN-COS的函数图像\n程序上传后打开串口监视器\n并切换到绘图模式</field><next><block type="serial_begin" id="*FH*+q2A?V5*Yf4;o[9*"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="jzy(`c$`UtGEpZ1yjIry"><field name="NUM">9600</field></shadow></value><next><block type="controls_for" id="=hVHlF()/a2l*xkyiY_i"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="bP2myzI1YfRpxtf]-~+Q"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="_Ym`uml`=`k)oj/4mZH_"><field name="NUM">360</field></shadow></value><value name="STEP"><shadow type="math_number" id="EW*@r!I.)/Ti#-RBYR.="><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_print" id=")osIjp#r`D(QJKVY|gA|"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="math_arithmetic" id="nY=MwF;|rK2.ew=1-]zd"><field name="OP">ADD</field><value name="A"><shadow xmlns="" type="math_number" id="Xs:d*5PSsjzB!%Inn#n?"><field xmlns="" name="NUM">1</field></shadow><block type="math_arithmetic" id=")UjGHX-A=/Se6)Xq~p^q"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="" type="math_number"><field xmlns="" name="NUM">1</field></shadow><block type="math_trig" id="_2c*siwq#l:.aV~KD*lN"><field name="OP">SIN</field><value name="NUM"><block type="variables_get" id="wh7e;Hn[7[]Q18Rf*DBp"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow xmlns="" type="math_number"><field xmlns="" name="NUM">1</field></shadow><block type="math_number" id="VXJbhfnBHn6=g#kc7d**"><field name="NUM">256</field></block></value></block></value><value name="B"><shadow type="math_number" id="@log/n%BorDm:QGR(O+E"><field name="NUM">512</field></shadow></value></block></value><next><block type="serial_print" id="sQOwxQ,*1m=joCqIBvK4"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="text" id=";p]=bCFKWa}c!`7ro53?"><field name="TEXT">,</field></block></value><next><block type="serial_println" id="nXYC@@.z%Jw)0.T7#}aP"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="math_arithmetic" id="}eL0CKC~hgFFlqb9Cy:B"><field name="OP">ADD</field><value name="A"><shadow xmlns="" type="math_number" id="Xs:d*5PSsjzB!%Inn#n?"><field xmlns="" name="NUM">1</field></shadow><block type="math_arithmetic" id="X6vsB.q5Z)Aw5nmetdT?"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="" type="math_number"><field xmlns="" name="NUM">1</field></shadow><block type="math_trig" id="m!9jU%;-PAl[O/PowAbb"><field name="OP">COS</field><value name="NUM"><block type="variables_get" id="xiZ=FR=aAZL4cJAkqrhR"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow xmlns="" type="math_number"><field xmlns="" name="NUM">1</field></shadow><block type="math_number" id="?dj*,J3G7HoC_wsWCx^]"><field name="NUM">256</field></block></value></block></value><value name="B"><shadow type="math_number" id="k-ROx[sDL}6W;Bh#a~7y"><field name="NUM">512</field></shadow></value></block></value><next><block type="base_delay" id="iHn,)wreVS0eKN?;a%_s"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id=")G3Dw4PjHKZ)#?-05-x/"><field name="NUM">200</field></shadow></value></block></next></block></next></block></next></block></statement></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="HBM,=JKlM@dQAe~!!-J1" x="-680" y="158"><field name="VALUE">A0接电位器\n串口输出20-180区间的数值</field><next><block type="serial_begin" id="uG{H~~BS/fIYV]6:]#m9"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="|~k?:X5%O@mN^2*m;icz"><field name="NUM">9600</field></shadow></value><next><block type="serial_println" id="3%mkwJBit8H*1C.c$8;G"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="base_map" id="gl|{eO:a]s7H=TcB_ZT-"><field name="maptype">map_int</field><value name="NUM"><block type="inout_analog_read" id="dl{4yVR8Dk.HM);]%[u]"><value name="PIN"><shadow type="pins_analog" id="ry./XNAT%FXC{YssC-91"><field name="PIN">A0</field></shadow></value></block></value><value name="fromLow"><shadow type="math_number" id="7oxU6!5BO{(gs(=]I$(O"><field name="NUM">0</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="?1)93(F`=lne-!(4EjI8"><field name="NUM">1023</field></shadow></value><value name="toLow"><shadow type="math_number" id="a8Z`{VZe,EcHg^P0[xW5"><field name="NUM">20</field></shadow></value><value name="toHigh"><shadow type="math_number" id=":;@)*0mY9|k,RLwZKewJ"><field name="NUM">180</field></shadow></value></block></value><next><block type="controls_delay" id="U1!`OE%JO_m]VYHW/r~h"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="LUKeKH**C({[S7E5+0n}"><field name="NUM">500</field></shadow></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="?KGHe+/?gY1*H!I69/=l" x="-275" y="189"><field name="VALUE">随机数不包括最大数,如 1—7 随机数只有 1、2、3、4、5、6。</field><next><block type="serial_begin" id="0xP_Z?UfR;o~#{*k6O2x"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="q%W?A_Kk|)ef4`l.R)PU"><field name="NUM">9600</field></shadow></value><next><block type="math_random_seed" id="XDN.NlO!#B72]8n{8dV!"><value name="NUM"><shadow type="math_number" id="qbD^ATa0_cFz2yh/;5=h"><field name="NUM">997</field></shadow></value><next><block type="serial_println" id="lbgs|Y?r9T|)0sy!m1:F"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="math_random_int" id="d1ltWbZ4YuS;0WbJ%Uq6"><value name="FROM"><shadow type="math_number" id="9QpaSrQ,_pMOQ/:04hE`"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="4s}KhB|ZJO21-{EtW=pm"><field name="NUM">100</field></shadow></value></block></value><next><block type="controls_delay" id="a5|.`(,mW^`R/Z_ma0Ga"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="VQZg[g+?(QjK)bBQ4hh4"><field name="NUM">100</field></shadow></value></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="De`ruz5VtD=)vw?X%w,3" x="-1277" y="-32"><statement name="DO"><block type="serial_begin" id="esyVxp0%?{)-[C`$%/e`"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="8$F}agubXC8+abgF#e5@"><field name="NUM">9600</field></shadow></value></block></statement></block><block type="factory_notes" id="#.ucTz$+[{A3~)M:XP%E" x="-1278" y="77"><field name="VALUE">输出两个数取余的值</field><next><block type="serial_println" id="#*|lx[gI%yGgxFfu)ptc"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="math_arithmetic" id="9u)#s3WxCiH]!L(H%]GT"><field name="OP">QUYU</field><value name="A"><shadow type="math_number" id="2_Vw7`;K/e[npErGqSN3"><field name="NUM">10</field></shadow></value><value name="B"><shadow type="math_number" id="yp?`VM_+}y?7_432_~Um"><field name="NUM">3</field></shadow></value></block></value><next><block type="factory_notes" id="%IASTx3#}m~=^@S94SUP"><field name="VALUE">A0连接电位器\n将看到LED亮灭随电位器的旋转约束在0-255之间不同的亮度</field><next><block type="inout_analog_write" id="?PQldvR/W9o]+WSp6Jj:"><value name="PIN"><shadow type="pins_pwm" id="2Z!ht5x%:u5wh;wRB9O~"><field name="PIN">11</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="4M5u,rAh#jqBZmI/L2Ns"><field name="NUM">0</field></shadow><block type="math_constrain" id="]oC8h`.2bfr{KqykHe~,"><value name="VALUE"><block type="math_arithmetic" id=".b14:o,/X2z5]7SRU/DN"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="quTq2,zRFWC(=L#^?gc5"><field name="NUM">10</field></shadow><block type="math_arithmetic" id="64fa-`ZSvQmNWZX]d-E2"><field name="OP">QUYU</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="quTq2,zRFWC(=L#^?gc5"><field name="NUM">10</field></shadow><block type="inout_analog_read" id="|/^L,#K4_K?HZ!.-!dcL"><value name="PIN"><shadow type="pins_analog" id="G-VIsu[9=IU(#7q=V=su"><field name="PIN">A0</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="6mKII?:J2.0(oIG,k:J?"><field name="NUM">3</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="lFrP[s=H[=ZM?8)O0;Ln"><field name="NUM">50</field></shadow></value></block></value><value name="LOW"><shadow type="math_number" id="Csm0!V-ELrS,|OcsSTHt"><field name="NUM">0</field></shadow></value><value name="HIGH"><shadow type="math_number" id="2ysA]d+WP4Gy9-Jpx_}e"><field name="NUM">255</field></shadow></value></block></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="uk{i3#|J+Vg:a2$wM}MV" x="-165" y="-77"><field name="VALUE">使用移位计算</field><next><block type="variables_declare" id="*he3DGS3:@jq;:OLX[u8"><field name="variables_type">global_variate</field><field name="VAR">item</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="m6G=u9g9}vA+ecZt3ZZf"><field name="NUM">4096</field></block></value><next><block type="serial_begin" id="Hr@7cg!#%(U#H#7:P[r3"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="RG5h!57N)UK?h:(.EQv3"><field name="NUM">9600</field></shadow></value><next><block type="controls_for" id="QW6^lf#;*Yb4Dv$)g%9o"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="Eimv5gSJ)q-9-/g}i8hP"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="^7K72c!uqv~!HmdO#e5*"><field name="NUM">12</field></shadow></value><value name="STEP"><shadow type="math_number" id="(YRvB.=U:SSA}fg;!9wh"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_println" id="WBWTV}sOFq{{SX!-]fXp"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="math_bit" id="VIOJ;`7cBe=hiFkg[n;e"><field name="OP">&gt;&gt;</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="vXtSkDQWx|.aWzle)7cj"><field name="NUM">4096</field></shadow><block type="variables_get" id=";{.tGp!oWSC{?ir=qa$M"><field name="VAR">item</field></block></value><value name="B"><shadow type="math_number" id="?V7ta|AWgmo%+vP[UE0x"><field name="NUM">1</field></shadow></value></block></value><next><block type="variables_set" id="jWndQ)u5nMlH^T{ag9d{"><field name="VAR">item</field><value name="VALUE"><block type="math_bit" id="biLJh=ws;7!T5b,T0!2e"><field name="OP">&gt;&gt;</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="vXtSkDQWx|.aWzle)7cj"><field name="NUM">4096</field></shadow><block type="variables_get" id="`JA=R=xAFX0MS=|(!H^T"><field name="VAR">item</field></block></value><value name="B"><shadow type="math_number" id=",C-T+V/XW#`~eR(dHh7-"><field name="NUM">1</field></shadow></value></block></value></block></next></block></statement><next><block type="controls_end_program" id="0lQAm1:#]7qlv$InUOm0"></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="S#xw}jtPi![a~FhH_0}n" x="-257" y="56"><field name="VALUE">只执行一次串口输出积木块</field><next><block type="serial_begin" id="eS#A7,P~:L,!YB2cv[eq"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="xy$^OY62W!F_;m|gGyur"><field name="NUM">9600</field></shadow></value><next><block type="serial_println" id="bvPTEs$a2?ZAO;xaT+G."><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="z`me95Uyr/OEn/;fZcvQ"><field name="TEXT">I like Mixly!</field></block></value><next><block type="factory_notes" id="2DMs`q#fjTAGHAA-)riR"><field name="VALUE">串口输出数字后不换行</field><next><block type="controls_for" id="GL_Av$MuL7BSHzCh^{[*"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="8,8S2/,ulCkI}Xa6=2+H"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="Z3]Yiv[eR$MLD.MwQ?0/"><field name="NUM">6</field></shadow></value><value name="STEP"><shadow type="math_number" id="e^4:lQB5*0SlFYDk_OhC"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_print" id="Vj10YTO9),K^9_4i0oy?"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="variables_get" id="5vv:y!y%_w{6M/mzOvKZ"><field name="VAR">i</field></block></value><next><block type="serial_print" id="mF`NLwX;/0@Q;];azuMm"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="text_char" id=";pLhtOMClaIImMcE.W1N"><field name="TEXT"> </field></block></value></block></next></block></statement><next><block type="serial_println" id="q_;qy_rsD=9}=)Y6om}L"><field name="serial_select">Serial</field><field name="new_line">println</field><next><block type="controls_end_program" id="/oEE9%Snn*=@0.yB_CQ{"></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="4Wk.%MQ40nJqX)fI/g+q" x="-278" y="164"><field name="VALUE">用转ASCII字符积木块加空格</field><next><block type="serial_begin" id="eS#A7,P~:L,!YB2cv[eq"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="xy$^OY62W!F_;m|gGyur"><field name="NUM">9600</field></shadow></value><next><block type="serial_println" id="bvPTEs$a2?ZAO;xaT+G."><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join" id="4q.Rd8s$,:i~mPa_TpxZ"><value name="A"><shadow type="text" id="HwVl%j1](aZ[sD_bFvaM"><field name="TEXT">Hello</field></shadow></value><value name="B"><shadow type="text" id="3;wxiX43KxU:`Jb^Lsny"><field name="TEXT">Mixly</field></shadow></value></block></value><next><block type="serial_println" id="@Z469x{ReQjNE[i2NRwi"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join" id="i|4Rlo#O2n.1V;[th47~"><value name="A"><shadow type="text" id="0Sorn]K44Bw6Y7[E2r2o"><field name="TEXT">Hello</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="m{!`wi6p!Kj$Rb~,+{Nt"><field name="TEXT"></field></shadow><block type="text_join" id="PyDjGWB]+qI4,Z4M;#W9"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="?6C3RBmycGEKStnuZ$OW"><field name="TEXT"> </field></shadow><block type="ascii_to_char" id="??aPi5aKho{]J2F3%3g~"><value name="VAR"><shadow type="math_number" id="xu3e~4,;J{XcuL:=D]s#"><field name="NUM">127</field></shadow></value></block></value><value name="B"><shadow type="text" id="7Fl8K0VH!/8}sy+X?b_`"><field name="TEXT">Mixly</field></shadow></value></block></value></block></value><next><block type="controls_delay" id="LI8.cIyWa=z|PFc~mjqp"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="Z3n)ZF`ZrixR7Ldb}`PU"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="M=.e8s_?S~V4+(Wa-B8v" x="-219" y="105"><field name="VALUE">截取字符串中的一部分</field><next><block type="serial_begin" id="eH|I5SMkdci,6,g{AEhy"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="Bi)o6tw1#08m}9,@:1(N"><field name="NUM">9600</field></shadow></value><next><block type="serial_println" id="0!=_?_%P,h^G5OSC_FY."><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="substring" id="J:G?R-4hECM7!3H^l1*0"><value name="name"><shadow type="text" id="LxJm:aEg~@*VpzbQEncI"><field name="TEXT">I Love Mixly</field></shadow></value><value name="Start"><shadow type="math_number" id="8QDAs%0:BkTqE::d+8Ju"><field name="NUM">7</field></shadow></value><value name="end"><shadow type="math_number" id="GUL3BIcT}/aD,}E|Zp@9"><field name="NUM">12</field></shadow></value></block></value><next><block type="controls_end_program" id="Ne1b{+9D7=gH7}gpju0A"></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 rc4" board="Arduino AVR@Arduino/Genuino Uno"><block type="base_setup" id="BW;FlBf1=G?PkND`ijxA" x="-463" y="6"><statement name="DO"><block type="serial_begin" id="bf~pF7aXupJ`d!ni9{68"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="L6P8YTnXzqPD[tMuYoan"><field name="NUM">9600</field></shadow></value><next><block type="serial_print" id="H/W]`Rt#.-?a:RJwLa$M"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="@I$Ng+4K()e}UF0,Xjp]"><field name="TEXT">=========Base64编解码=========</field></block></value><next><block type="serial_print" id="`d3Hh_Ti?-UY7wOY@vcf"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_base64_url_codec" id="J8?H9Q.iIWq.rf(:w*PB"><field name="TYPE">BASE64</field><field name="OPTION">ENCODE</field><value name="VALUE"><shadow type="text" id="GDFKfTOw=UIpH-VEmz!/"><field name="TEXT">你好Mixly</field></shadow></value></block></value><next><block type="serial_print" id=")eo[4Lod8kDO_pDa?4lv"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_base64_url_codec" id="0V2xn=os|pqjE#rZew3P"><field name="TYPE">BASE64</field><field name="OPTION">DECODE</field><value name="VALUE"><shadow type="text" id="=jqkwR}aVi!83kx1(0ky"><field name="TEXT">5L2g5aW9TWl4bHk=</field></shadow></value></block></value><next><block type="serial_print" id="#7K}Yhk3qhmV./bwQr5;"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="ut3YM,rxoiYJXdvk23W^"><field name="TEXT">==========Url编解码===========</field></block></value><next><block type="serial_print" id="Aq^Vioo*xK={vh9e}@Vp"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_base64_url_codec" id="s43sgBC4KQb+s{?,Z}K0"><field name="TYPE">URL</field><field name="OPTION">ENCODE</field><value name="VALUE"><shadow type="text" id=",bDlu;#x}f|b@ElFwUz1"><field name="TEXT">你好Mixly</field></shadow></value></block></value><next><block type="serial_print" id="x:kJ1HcUw_r,_A7qWP#s"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_base64_url_codec" id="82A@G!l-zG-JQ5S0a,P6"><field name="TYPE">URL</field><field name="OPTION">DECODE</field><value name="VALUE"><shadow type="text" id="|75viF}9th~6=1-!TzT}"><field name="TEXT">%E4%BD%A0%E5%A5%BDMixly</field></shadow></value></block></value><next><block type="serial_print" id="5fmmL?u86:g6G[Q~E)_j"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="cXmXosOy0Ir(s1{30/WN"><field name="TEXT">==============================</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml><config>{}</config><code>CiNpbmNsdWRlIDxyQmFzZTY0Lmg+CiNpbmNsdWRlIDxVUkxDb2RlLmg+CgpVUkxDb2RlIHVybENvZGU7CgpTdHJpbmcgdXJsRW5jb2RlKFN0cmluZyB1cmxTdHIpIHsKICB1cmxDb2RlLnN0cmNvZGUgPSB1cmxTdHI7CiAgdXJsQ29kZS51cmxlbmNvZGUoKTsKICByZXR1cm4gdXJsQ29kZS51cmxjb2RlOwp9CgpTdHJpbmcgdXJsRGVjb2RlKFN0cmluZyB1cmxTdHIpIHsKICB1cmxDb2RlLnVybGNvZGUgPSB1cmxTdHI7CiAgdXJsQ29kZS51cmxkZWNvZGUoKTsKICByZXR1cm4gdXJsQ29kZS5zdHJjb2RlOwp9Cgp2b2lkIHNldHVwKCl7CiAgU2VyaWFsLmJlZ2luKDk2MDApOwogIFNlcmlhbC5wcmludGxuKCI9PT09PT09PT1CYXNlNjTnvJbop6PnoIE9PT09PT09PT0iKTsKICBTZXJpYWwucHJpbnRsbihyYmFzZTY0LmVuY29kZSgi5L2g5aW9TWl4bHkiKSk7CiAgU2VyaWFsLnByaW50bG4ocmJhc2U2NC5kZWNvZGUoIjVMMmc1YVc5VFdsNGJIaz0iKSk7CiAgU2VyaWFsLnByaW50bG4oIj09PT09PT09PT1VcmznvJbop6PnoIE9PT09PT09PT09PSIpOwogIFNlcmlhbC5wcmludGxuKHVybEVuY29kZSgi5L2g5aW9TWl4bHkiKSk7CiAgU2VyaWFsLnByaW50bG4odXJsRGVjb2RlKCIlRTQlQkQlQTAlRTUlQTUlQkRNaXhseSIpKTsKICBTZXJpYWwucHJpbnRsbigiPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Iik7Cn0KCnZvaWQgbG9vcCgpewoKfQ==</code>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="y#Kes_K4:xIR1v#:ne0%" x="-167" y="25"><field name="VALUE">串口输出字符型数组元素</field><next><block type="lists_create_with2" id="PL;]W*E)Ps|+3}!*xV4W"><mutation xmlns="http://www.w3.org/1999/xhtml" items="5"></mutation><field name="TYPE">char</field><field name="VAR">CHINA</field><value name="ADD0"><block type="text_char" id="pjH6me=@yP9a+IqmBXRB"><field name="TEXT">C</field></block></value><value name="ADD1"><block type="text_char" id="t?mm{SnIzU;EuvGuTr-u"><field name="TEXT">H</field></block></value><value name="ADD2"><block type="text_char" id="?46G=`K~:aGapNJzBp?R"><field name="TEXT">I</field></block></value><value name="ADD3"><block type="text_char" id="nAdLv~gu%sk-wb^[J7pu"><field name="TEXT">N</field></block></value><value name="ADD4"><block type="text_char" id=".{X5|)]/{.h_)R)bsIzK"><field name="TEXT">A</field></block></value><next><block type="controls_for" id="jbzPL^@/YVrMTM$fN83{"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="Vur!.RWF,HZT|JNX?2Lx"><field name="NUM">1</field></shadow></value><value name="TO"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="j|MUg`E*W`E,ukztoi73"><field name="NUM">5</field></shadow><block type="lists_length" id="8qlKYMUDR}nba=bU}[q,"><field name="VAR">CHINA</field></block></value><value name="STEP"><shadow type="math_number" id="}Uqh0suBq=F5HVuRVwF,"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_print" id="LOvZb?g7l6cvRXMyI!Ol"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="lists_getIndex" id="zsAFb)FrRA]:Xu_pS9!I"><field name="VAR">CHINA</field><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="[dcr?Q0WAQd-}bY!Wz|w"><field name="NUM">1</field></shadow><block type="variables_get" id="KCUB~TjfMVj!{$o..,FM"><field name="VAR">i</field></block></value></block></value></block></statement><next><block type="controls_end_program" id="M?5aHv,/#B`4;b~IU`Ld"></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="!Ze(0oPDPgt-MfM`Mx;M" x="-338" y="116"><field name="VALUE">串口输出二维数组元素</field><next><block type="create_array2_with_text" id="]83Ha={H^ft;3e9;V;e3"><field name="TYPE">int</field><value name="name"><shadow type="math_number" id="+xoCN4bqrSZv*CU3Ry}F"><field name="NUM">array</field></shadow></value><value name="line"><shadow type="math_number" id="{EYf9HWzCx6Ie#?qEI10"><field name="NUM">3</field></shadow></value><value name="list"><shadow type="math_number" id="H5lX$C#S{XV:K`6e)gR~"><field name="NUM">3</field></shadow></value><value name="String"><shadow type="math_number" id="#qBZ9mnhrNB8/VT$VDz}"><field name="NUM">{1,2,3},{4,5,6},{7,8,9}</field></shadow></value><next><block type="controls_for" id="sy,aR:JX;)dsc4FA2UuY"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="tMKI}RV^r8#+vK,z]``("><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="zzjg+uGqHkJ8=t{/_Tt`"><field name="NUM">3</field></shadow></value><value name="STEP"><shadow type="math_number" id="^(tYAJm9x|FC5#)J=H1~"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="controls_for" id=":wxw.=Sp?!H:R*/w{^tw"><field name="VAR">j</field><value name="FROM"><shadow type="math_number" id="@O/1m+m4jviNkZff-C(O"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="Gd0U4H3fW/(=5J?+EfDB"><field name="NUM">3</field></shadow></value><value name="STEP"><shadow type="math_number" id=",A3.^6QALUyGI!WWTBGi"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_print" id="JE-@(ZcRB#Y+:uuee,73"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="text_join" id="9a;hpIqm${-.{nK?[|Gx"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="qta!]V{yy)y$HdnbXW!n"><field name="TEXT">Hello</field></shadow><block type="get_array2_value" id="v-.j+;W%Qm@2N{M@awJc"><value name="name"><shadow type="math_number" id="lnR3iKgH4dM0kue0mfnI"><field name="NUM">array</field></shadow></value><value name="line"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="5_r?-0Mx+oEoYS]I+Nv6"><field name="NUM">1</field></shadow><block type="variables_get" id="gRIQEQyPTCl.Y+k2Z#]."><field name="VAR">i</field></block></value><value name="list"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="EJZl1ph[D}(+o-_{!O0x"><field name="NUM">1</field></shadow><block type="variables_get" id="-2j#8Q|Q.P5fmuiI~f[K"><field name="VAR">j</field></block></value></block></value><value name="B"><shadow type="text" id="=l[XeQDkGKu}3~O7lp}P"><field name="TEXT">,</field></shadow></value></block></value><next><block type="controls_if" id="Eo)Ki`yOt}gh|m,9af~v"><value name="IF0"><block type="logic_compare" id="r:#GL$|J{m8ZElv@%wzy"><field name="OP">EQ</field><value name="A"><block type="math_arithmetic" id="Dfnq?1coVyUKJx5`!FCZ"><field name="OP">QUYU</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="x$by83XP6Ob~[~`9r3Pq"><field name="NUM">1</field></shadow><block type="variables_get" id="IHXJ[7=qO(=w/c#[vTOj"><field name="VAR">j</field></block></value><value name="B"><shadow type="math_number" id="Dsxu~AH{~iJo6d$s*qmt"><field name="NUM">3</field></shadow></value></block></value><value name="B"><block type="math_number" id="f71z]6h|n^$UAQJyjnz2"><field name="NUM">0</field></block></value></block></value><statement name="DO0"><block type="serial_println" id="wBNd[Mh!%9/zK-]W!U1D"><field name="serial_select">Serial</field><field name="new_line">println</field></block></statement></block></next></block></statement></block></statement><next><block type="controls_end_program" id="=rxZu$o#k??=L/HS.~QE"></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="oaDDyHQz5zG79Bw![c*," x="54" y="86"><field name="VALUE">在A0连接电位器D9连接LED。\n转动电位器大于600灯一直亮在400和600之间灯灭小于400灯闪。</field><next><block type="serial_println" id="p7_5BYklUm;cR;))SMWV"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="inout_analog_read" id="6X5h3CQd+40Jdyoapej/"><value name="PIN"><shadow type="pins_analog" id=";E-0OsTKDjSZLwKZ{E:n"><field name="PIN">A0</field></shadow></value></block></value><next><block type="controls_delay" id="UdK_@ZtLRC3G)qhyX1es"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="vN]ZH8pO(x~L!INGn^BJ"><field name="NUM">1000</field></shadow></value><next><block type="controls_if" id="5g0bewqag9j[pU+SU.u!"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="1" else="1"></mutation><value name="IF0"><block type="logic_compare" id="o46q6CsR}E(om5stdk8U"><field name="OP">GTE</field><value name="A"><block type="inout_analog_read" id="G1B}F7$,.3U.qe|^-M4s"><value name="PIN"><shadow type="pins_analog" id="?|sAhQ%)6//6+/sWb1zp"><field name="PIN">A0</field></shadow></value></block></value><value name="B"><block type="math_number" id="|*BfxhMx0/DJLQ%+C@g9"><field name="NUM">600</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="F8pkAI/i]h_/`Y%!FkOC"><value name="PIN"><shadow type="pins_digital" id="/WiQZw3L-[_~}6BmS]y5"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="(:ze}`jZ*%y#P{%Y-vH,"><field name="BOOL">HIGH</field></shadow></value></block></statement><value name="IF1"><block type="logic_compare" id=";j~4L=POk}Hs_W,.uCH["><field name="OP">LTE</field><value name="A"><block type="inout_analog_read" id="+Ygf0xG9]jN#QGnRN{[p"><value name="PIN"><shadow type="pins_analog" id="r6o9gOK1Uq5Gt!lW#_^*"><field name="PIN">A0</field></shadow></value></block></value><value name="B"><block type="math_number" id=",MW:At{~fX*o5##+cJTD"><field name="NUM">400</field></block></value></block></value><statement name="DO1"><block type="inout_digital_write2" id="seuRcOh$qgOvPNARM:f-"><value name="PIN"><shadow type="pins_digital" id="q@eEG6kckADo.3$rr#_)"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="Y9%M%Q3^hc]!FLiMK:G7"><field name="BOOL">HIGH</field></shadow></value><next><block type="controls_delay" id="22/*WH6c)xA_7e;=1((5"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="mA!c)uPhM=.FBW){}o?D"><field name="NUM">200</field></shadow></value><next><block type="inout_digital_write2" id="GCq21UblEp$S*gNnY-k]"><value name="PIN"><shadow type="pins_digital" id="ZdvU?g78Y}TLjruf#Y^0"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="qpGhy#(qgjzd%4o(vOkN"><field name="BOOL">LOW</field></shadow></value><next><block type="controls_delay" id="7`WJvH,1jLZ+8NT|:+l`"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="^WWAxpbdzKPX?((F|}T^"><field name="NUM">200</field></shadow></value></block></next></block></next></block></next></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="J=pAPH`Z:J3w^w2S2^fs"><value name="PIN"><shadow type="pins_digital" id="/N.@q%jAaQw:UGBIx]xe"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="v7$Z,+Mu?^RzGKK-a.Fc"><field name="BOOL">LOW</field></shadow></value></block></statement></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="+lM#H;=X)K9uC#yWs?F9" x="8" y="23"><field name="VALUE">光控按钮灯\n\nA0连接光线传感器D4连接LEDD3连接按钮\n当A0&lt;50(光线暗并按钮被被下时LED为高电平\n否则LED为低电电平</field><next><block type="controls_if" id="xG$SH4CF?ee^:R-@9]Dr"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_operation" id="syD`tfE(n0{T/+xR^6v("><field name="OP">AND</field><value name="A"><block type="logic_compare" id="vF0M?@Da)(V|[J)L$-k3"><field name="OP">LT</field><value name="A"><block type="inout_analog_read" id="b4pj`qmJqYPLrZTey$)s"><value name="PIN"><shadow type="pins_analog" id="P^Qt~4fY$(q9nP4MeWi)"><field name="PIN">A0</field></shadow></value></block></value><value name="B"><block type="math_number" id="D(p=qwAU/kjb[$]($(xK"><field name="NUM">50</field></block></value></block></value><value name="B"><block type="inout_digital_read2" id="VqV;r94(Q~GnjyO_wBj4"><value name="PIN"><shadow type="pins_digital" id="4WzAu%N5tllOcvPe].yO"><field name="PIN">3</field></shadow></value></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="fw!+CMMCro|[@NrieoLr"><value name="PIN"><shadow type="pins_digital" id="aT4Zk)4wHHu}C@)dZI.P"><field name="PIN">4</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="}YD3($hi+)^u$TL3UG7T"><field name="BOOL">HIGH</field></shadow></value></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="KqsF@z~[@tMVcaS2;A~k"><value name="PIN"><shadow type="pins_digital" id="3O{SoVAC!I(OEBGGB~{A"><field name="PIN">4</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="}Bbr?Laxs+IRZT.*D)Uu"><field name="BOOL">LOW</field></shadow></value></block></statement></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="+lM#H;=X)K9uC#yWs?F9" x="-1512" y="-99"><field name="VALUE">声控灯\nA0连接声音传感器D2连接LED\n当A0&gt;50时LED为高电平\n否则LED为低电平</field><next><block type="serial_println" id="VoVQcP]~yy}X8NUKC#L/"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="inout_analog_read" id="kk#4$`bUP@,nl^BwIGIs"><value name="PIN"><shadow type="pins_analog" id="O2DwA?7/#(+We8KX,UcO"><field name="PIN">A0</field></shadow></value></block></value><next><block type="inout_digital_write2" id="782dX0b.V}D.S6u0ri76"><value name="PIN"><shadow type="pins_digital" id="4l1M*]:i_Y/,dq:cgdp^"><field name="PIN">2</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="yE0U~17(`DSpM{q)ol;*"><field name="BOOL">HIGH</field></shadow><block type="logic_true_or_false" id="tj=i-5ADuQP,ynk^G[vY" inline="false"><value name="A"><block type="logic_compare" id="?FJ_2sfAP/p~aw2+!G(F"><field name="OP">GT</field><value name="A"><block type="inout_analog_read" id="_d{1{A^JUygB7KQ6?FMk"><value name="PIN"><shadow type="pins_analog" id="=@-DQ8M,R]lgrr-D{mx("><field name="PIN">A0</field></shadow></value></block></value><value name="B"><block type="math_number" id="uVm*@cOw0|+=.pet3A08"><field name="NUM">50</field></block></value></block></value><value name="B"><block type="inout_highlow" id="Xe}D(:xiQ.T=m@*@aiCV"><field name="BOOL">HIGH</field></block></value><value name="C"><block type="inout_highlow" id=".gN~b*v1r(h}eY8m+kxY"><field name="BOOL">LOW</field></block></value></block></value></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="5st)k?W=^aVnD=p@p+dd" x="-278" y="106"><field name="VALUE">串口交互\nD9连接红色LEDD10连接黄色LEDD11连接绿色LED。\n输入R,点亮红色LED输入Y点亮黄色LED输入G点亮绿色LED。</field><next><block type="serial_begin" id="R:2=0(.l/OsyYIFHH,~;"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="/$6|]rGt4z!]m#ybD|AT"><field name="NUM">9600</field></shadow></value><next><block type="variables_declare" id="pHZn*U]cX2909+[d2P5l"><field name="variables_type">global_variate</field><field name="VAR">Light</field><field name="TYPE">char</field><value name="VALUE"><block type="text_char" id="EO1L5CBxkoKHhGS_$WeE"><field name="TEXT"> </field></block></value><next><block type="controls_if" id="mq]k4.ip:/zur:$^jPY@"><value name="IF0"><block type="serial_available" id="tjg$7Z2kQKNga2n%rEUh"><field name="serial_select">Serial</field></block></value><statement name="DO0"><block type="variables_set" id="7m#Z%1,8jD9XMsiQuB[q"><field name="VAR">Light</field><value name="VALUE"><block type="serial_parseInt_Float" id="H#?#r97F3{@:HZ`{#Gc-"><field name="serial_select">Serial</field><field name="STAT">read</field></block></value></block></statement><next><block type="controls_switch_case" id="f8xtKvR+a~M(X4)MlL|R"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="3" else="1"></mutation><value name="IF0"><block type="variables_get" id="A}y;N@(U`.tJ.WY5;5_J"><field name="VAR">Light</field></block></value><value name="IF1"><block type="text_char" id="QO/P(0aDCuY5B{:g6h=m"><field name="TEXT">R</field></block></value><statement name="DO1"><block type="inout_digital_write2" id="LGhGXtLy5:VM6Mq4)eW,"><value name="PIN"><shadow type="pins_digital" id="Q#}cG9H9^%h9N0zla94z"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="eJ;Iw$Egfx?x8m@W3jAF"><field name="BOOL">HIGH</field></shadow></value></block></statement><value name="IF2"><block type="text_char" id="pl_5H8MWV.gfa/G:0S|D"><field name="TEXT">Y</field></block></value><statement name="DO2"><block type="inout_digital_write2" id="7KQ%vY?1)zFvXsw[N?F="><value name="PIN"><shadow type="pins_digital" id="(RHjuj!rx5bdS0P$DwU4"><field name="PIN">10</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="lsL1?}u!c_jh_]3jWEo`"><field name="BOOL">HIGH</field></shadow></value></block></statement><value name="IF3"><block type="text_char" id="!J!qpR)K~DNLXEl{9HAH"><field name="TEXT">G</field></block></value><statement name="DO3"><block type="inout_digital_write2" id="F:X3ys=:#2I;BZ5{,%{U"><value name="PIN"><shadow type="pins_digital" id="=7:5+TD_L!%)eck2rhU="><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="5;3#h6tCoOMq/KRHidoe"><field name="BOOL">HIGH</field></shadow></value></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="-zUqd1sp9wb.!%fp=qz^"><value name="PIN"><shadow type="pins_digital" id="7{*.{#krgZ*4Up#bV]jE"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="8+]3iOCV5q{$K#f``6N{"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="Ux9z]MZ%l5Nh=0zx8c(8"><value name="PIN"><shadow type="pins_digital" id="`o4FiYOOFA`f5|Bfna.s"><field name="PIN">10</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="E9()vIzymz_%;67JmVYd"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="9|EWbdXO:B}Cf=7~H6*m"><value name="PIN"><shadow type="pins_digital" id="Tbl@T3!klqbbdrCkvxLk"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="uq5@fe^UUGZ/Az63CuTR"><field name="BOOL">LOW</field></shadow></value></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="5st)k?W=^aVnD=p@p+dd" x="0" y="0"><field name="VALUE">串口交互\nD13接LED。\n输入1,开灯输入0关灯。</field><next><block type="serial_begin" id="R:2=0(.l/OsyYIFHH,~;"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="/$6|]rGt4z!]m#ybD|AT"><field name="NUM">9600</field></shadow></value><next><block type="variables_declare" id="pHZn*U]cX2909+[d2P5l"><field name="variables_type">global_variate</field><field name="VAR">Light</field><field name="TYPE">char</field><value name="VALUE"><block type="text_char" id="ck%GjEk7ki*jfddUM;N("><field name="TEXT">0</field></block></value><next><block type="controls_if" id="mq]k4.ip:/zur:$^jPY@"><value name="IF0"><block type="serial_available" id="tjg$7Z2kQKNga2n%rEUh"><field name="serial_select">Serial</field></block></value><statement name="DO0"><block type="variables_set" id="7m#Z%1,8jD9XMsiQuB[q"><field name="VAR">Light</field><value name="VALUE"><block type="serial_parseInt_Float" id="H#?#r97F3{@:HZ`{#Gc-"><field name="serial_select">Serial</field><field name="STAT">read</field></block></value></block></statement><next><block type="controls_switch_case" id="f8xtKvR+a~M(X4)MlL|R"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="2"></mutation><value name="IF0"><block type="variables_get" id="A}y;N@(U`.tJ.WY5;5_J"><field name="VAR">Light</field></block></value><value name="IF1"><block type="text_char" id="P[g91fuCahV-=%zSmwc!"><field name="TEXT">1</field></block></value><statement name="DO1"><block type="inout_digital_write2" id="LGhGXtLy5:VM6Mq4)eW,"><value name="PIN"><shadow type="pins_digital" id="Q#}cG9H9^%h9N0zla94z"><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="eJ;Iw$Egfx?x8m@W3jAF"><field name="BOOL">HIGH</field></shadow></value></block></statement><value name="IF2"><block type="text_char" id="PfsN+G|iu39vv2~;{4Z4"><field name="TEXT">0</field></block></value><statement name="DO2"><block type="inout_digital_write2" id="7KQ%vY?1)zFvXsw[N?F="><value name="PIN"><shadow type="pins_digital" id="(RHjuj!rx5bdS0P$DwU4"><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="lsL1?}u!c_jh_]3jWEo`"><field name="BOOL">LOW</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="serial_begin" id="jO4]umi`?wc#]h{`~YfI" x="11" y="69"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="PbAKr|Ir|XJat%N0tS=,"><field name="NUM">9600</field></shadow></value><next><block type="controls_for" id="2jJ(FlotoW9S(EqKn3yu"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="wRiXr)fODBM{{w=ud|k^"><field name="NUM">33</field></shadow></value><value name="TO"><shadow type="math_number" id="75phmqis@~Es9/}NO~7X"><field name="NUM">127</field></shadow></value><value name="STEP"><shadow type="math_number" id="[e2..w_eEsfcMveB)wnX"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_write" id="3cZR!}MgY[^+D5uL@Aow"><field name="serial_select">Serial</field><value name="CONTENT"><block type="variables_get" id="E,=B~y3D8+JUTmhVhk7A"><field name="VAR">i</field></block></value><next><block type="serial_print" id=")7`c/X[a(Gf7W{8?2Z9q"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="text" id="eMY%i.i;=x1_@L?Nq*]T"><field name="TEXT">,DEC:</field></block></value><next><block type="serial_print" id="X,AR*Fjb3Bi=?)YS[yeW"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="variables_get" id="Rhx/ns5uyqyQ3?,OTI!~"><field name="VAR">i</field></block></value><next><block type="serial_print" id=".V=gu}Z-/=QQDEDWWn#,"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="text" id="qv^f[ay/#KO96A8EX#Vq"><field name="TEXT">,HEX:</field></block></value><next><block type="serial_print_num" id="CLCK*a@huD[qxd3`sFqu"><field name="serial_select">Serial</field><field name="new_line">print</field><field name="STAT">HEX</field><value name="CONTENT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="f$#X;jc2);qym%{SM+~d"><field name="NUM">0</field></shadow><block type="variables_get" id="ZgJcaMaLY!4dJt-7=wp9"><field name="VAR">i</field></block></value><next><block type="serial_print" id="5IV9[z9BfR)WLW+IN,gx"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="text" id="gt|sjTo2`1LGU[}OBNtQ"><field name="TEXT">,BIN:</field></block></value><next><block type="serial_print_num" id="@(3`e`6n;f3z(F=*HY59"><field name="serial_select">Serial</field><field name="new_line">print</field><field name="STAT">BIN</field><value name="CONTENT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="f$#X;jc2);qym%{SM+~d"><field name="NUM">0</field></shadow><block type="variables_get" id="+|gXmx|*os!6$QA{F6u+"><field name="VAR">i</field></block></value><next><block type="serial_println" id="j((!vs0AW`4kpQP`#XJf"><field name="serial_select">Serial</field><field name="new_line">println</field></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type="controls_end_program" id="-j_.K4C-MfpFqkERnrty"></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="ir_recv" id="6bbMjUOryE8IInlp1!Yy" x="69" y="85"><field name="VAR">ir_item</field><value name="PIN"><shadow type="pins_digital" id="H2OX/[-tWpuo-7;bp8o="><field name="PIN">2</field></shadow></value><statement name="DO"><block type="serial_print_num" id="{$+DV{ZShLUngWXDxU#s"><field name="serial_select">Serial</field><field name="new_line">println</field><field name="STAT">HEX</field><value name="CONTENT"><block type="variables_get" id="PJ94%RkQsJkj#{+GG#P,"><field name="VAR">ir_item</field></block></value><next><block type="controls_switch_case" id="ZVy!rc:]UFqwheDhU4Ff"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="3" else="1"></mutation><value name="IF0"><block type="variables_get" id="$.T0_(o|kxYVk1)K+cZ)"><field name="VAR">ir_item</field></block></value><value name="IF1"><block type="math_number" id="bd9i;jB{$:NC^Rzc=!{s"><field name="NUM">0xFFA25D</field></block></value><statement name="DO1"><block type="inout_digital_write2" id="*=qwI_Mv0#t[jo2gNy^3"><value name="PIN"><shadow type="pins_digital" id="l8_Q/N2}u]RhYMrOmyAu"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="_mV%yEq@}$xFD5O?0~mO"><field name="BOOL">HIGH</field></shadow></value></block></statement><value name="IF2"><block type="math_number" id="!N$RdTgrM[mS,T}R[JoL"><field name="NUM">0xFF629D</field></block></value><statement name="DO2"><block type="inout_digital_write2" id="arM77HhM9tY%ueTy-TgF"><value name="PIN"><shadow type="pins_digital" id="Be@e|6`/-Fax$HcVTE]e"><field name="PIN">10</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="dBKgG648A.Dl1)cVLHxa"><field name="BOOL">HIGH</field></shadow></value></block></statement><value name="IF3"><block type="math_number" id="q8g/Uq_OVK.-F]$nW{pb"><field name="NUM">0xFFE21D</field></block></value><statement name="DO3"><block type="inout_digital_write2" id="H2[HccKu+5VBZ5Rn%_h}"><value name="PIN"><shadow type="pins_digital" id="`yL%ITbDa9ELyitrOm/."><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="+?Kj+JAl+h:M*oF?@ope"><field name="BOOL">HIGH</field></shadow></value></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="3OW|KxQPLW@.Dp.10ugR"><value name="PIN"><shadow type="pins_digital" id="c7^R=]e$nmu_-Xy)k-5J"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="$O(:|YP,YbRpL58PAT):"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="hU@I%GQOpQ}c.q+a-11G"><value name="PIN"><shadow type="pins_digital" id="bv^6oYl%MtKE9L!*YH7Y"><field name="PIN">10</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="Hv02,*qmSYsx68v$#;w{"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="9h^IIwO_w5m4to}95/Lg"><value name="PIN"><shadow type="pins_digital" id=":-{^vB31M#|$LVpfv~]]"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="b/dn(=,[Jj~bjr8l,8rg"><field name="BOOL">LOW</field></shadow></value></block></next></block></next></block></statement></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="3W)Qcgc!z4s5Ho)WFl]," x="0" y="53"><field name="VALUE">IIC通信主机发送字符a、b、c</field></block><block type="base_setup" id="O2|Y?g/J;3MNA}[kZ8%#" x="0" y="118"><statement name="DO"><block type="i2c_master_Init" id="T}wjVmh.vk0DgS*f9h$G"></block></statement></block><block type="controls_for" id="(H+_O$cAY*c]lxl~d@3{" x="0" y="209"><field name="VAR">i</field><value name="FROM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="-~6w|@jGn6{qICVDDGRg"><field name="NUM">1</field></shadow><block type="char_to_ascii" id="H~aLHLTI;U[?RvWtab%u"><field name="TEXT">a</field></block></value><value name="TO"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="jbCprakNGSZQ#!$BOX~="><field name="NUM">10</field></shadow><block type="char_to_ascii" id="NZqUJz/_OC6:kng[QT?r"><field name="TEXT">c</field></block></value><value name="STEP"><shadow type="math_number" id="2mP6g@BKI50ZhoeUnL1~"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="i2c_begin_end_transmission" id="THUq!6c{FyTMCL8-Cauj"><value name="i2c_address"><shadow type="math_number" id="rnI2*$C:?HtrI#L=1T?+"><field name="NUM">4</field></shadow></value><statement name="transmission_data"><block type="i2c_write" id="kDKfvP)jt{qm#mO{!~}I"><value name="i2c_write_data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="4xmSo9lt-xl/+s0MF[yj"><field name="TEXT"></field></shadow><block type="ascii_to_char" id="%j(]T;IWSch[M8AoM4-b"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="z2^#[j6Z4|k6+UWtsYxq"><field name="NUM">223</field></shadow><block type="variables_get" id="v}o$;w-rk/TPe[M0_nHY"><field name="VAR">i</field></block></value></block></value><next><block type="controls_delay" id="XA;:XbLz{*h=whn*7])h"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="4.t7TQXe8?Wri@M4}|vV"><field name="NUM">1000</field></shadow></value></block></next></block></statement></block></statement></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

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="spi_transfer" id="%vrA5Tgx+0o-cF92{.$R" x="-1068" y="116"><value name="pin"><shadow type="pins_digital" id="4lf|67eoSUp#KU(P%{XY"><field name="PIN">10</field></shadow></value><value name="value"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="M,*yHaT6HXItfQo`=h{H"><field name="NUM">0</field></shadow><block type="text_char" id="xnEg~?tq%3wS=nF+$0xz"><field name="TEXT">A</field></block></value><next><block type="controls_delay" id="eG4(SKS46=UDlyfJ,Gz@"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="|h.V^cHGa5yhqFOiiCrf"><field name="NUM">1000</field></shadow></value><next><block type="spi_transfer" id="Txf%n00{K~S4i3]/XKT5"><value name="pin"><shadow type="pins_digital" id="BQ?Y4CTQ3.,%rp0zpg+C"><field name="PIN">10</field></shadow></value><value name="value"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="M,*yHaT6HXItfQo`=h{H"><field name="NUM">0</field></shadow><block type="text_char" id="h8@#=lMHm#x_T{%xH3KD"><field name="TEXT">B</field></block></value><next><block type="controls_delay" id="v8#ZW}*U7C~0]xj`bKPg"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id=".p1@^=GW~p]V1T~LI*$5"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="spi_begin_master" id=",.:/;:X9*B}pes:S8sQ;" x="36" y="92"><value name="spi_slave_pin"><shadow type="pins_digital" id="Dg~-ew/$Tze+FTiAUZ@."><field name="PIN">10</field></shadow></value><next><block type="spi_transfer_Init" id="eC}ks2rTIMv?T27+cc#J"><value name="slave_pin"><shadow type="pins_digital" id="O_`/CpK^/8gi-wIuwVSc"><field name="PIN">10</field></shadow></value><statement name="transfer_data"><block type="spi_transfer_1" id="EY:rnhaLp3RMN](r^dL7"><value name="transfer_data"><shadow type="text_char" id="WG#/~WAsXLKHF@aS]4#q"><field name="TEXT">C</field></shadow></value><next><block type="controls_delay" id="Zm+l1Yc.S/x^TI]i!P@N"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="Q6L2)T^+,)_QnL.;8^/B"><field name="NUM">1000</field></shadow></value><next><block type="spi_transfer_1" id="12oLaDu%_GA[b-:+[S@v"><value name="transfer_data"><shadow type="text_char" id="1?8KRQMt_Zy1J4[iZU%2"><field name="TEXT">D</field></shadow></value><next><block type="controls_delay" id="/p`}0SnV-e44|smcj64{"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id=":p4EC+)jHlkQzfS%MRf$"><field name="NUM">1000</field></shadow></value><next><block type="spi_transfer_1" id="^k/Wi-tR}/TeZS+~X%r["><value name="transfer_data"><shadow type="text_char" id="-2hc2dzH@lPCef~.As}i"><field name="TEXT">E</field></shadow></value><next><block type="controls_delay" id="{D]~^y/Ha;q[i/`.JO.1"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="*xQ~/hn#4;$DGOc5ujZ3"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="+C=C_f=:;}dzKsuU;5r^" x="-1881" y="-42"><statement name="DO"><block type="variables_declare" id="S`/m{mCTCb?YRVPBwc{G"><field name="variables_type">global_variate</field><field name="VAR">MasterSend</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="w7q[7Tlt]kJJw~x_wVr4"><field name="NUM">0</field></block></value><next><block type="variables_declare" id="bCH%S9buPU_c[`%7Iphc"><field name="variables_type">global_variate</field><field name="VAR">MasteReceive</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="caRH.?mG#@W..0g557+l"><field name="NUM">0</field></block></value><next><block type="spi_begin_master" id="RusTRkC-k9IkLP?fM;9W"><value name="spi_slave_pin"><shadow type="pins_digital" id="8.:Cr-[#mP-QsegSk/[c"><field name="PIN">10</field></shadow></value><next><block type="serial_begin" id="`{b-UI{oklK*x?1~ajHi"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="!uz+[L^=(|PN;rY3F%)9"><field name="NUM">115200</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type="controls_if" id="BLDH5DN;T7NzT7PL(Dm5" x="-1888" y="151"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="inout_digital_read2" id="Dh%[E1lLC/TbQw#3|:92"><value name="PIN"><shadow type="pins_digital" id="af%kvJh1K8zhr9)LLu6]"><field name="PIN">2</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="XPD@hza*z/xSDTYW8Md?"><field name="VAR">MasterSend</field><value name="VALUE"><block type="math_number" id="iyP1pJxQ~L2yLp47t2C#"><field name="NUM">1</field></block></value></block></statement><statement name="ELSE"><block type="variables_set" id="mvV/Tri+-^T*B-@5{BA,"><field name="VAR">MasterSend</field><value name="VALUE"><block type="math_number" id="C(01`0g{DL;QRHpp6*%d"><field name="NUM">0</field></block></value></block></statement><next><block type="spi_transfer_Init" id="Uq_giHZB62C6UY`GJNA."><value name="slave_pin"><shadow type="pins_digital" id=")t5$Dip8B$u;hOx=+t[0"><field name="PIN">10</field></shadow></value><statement name="transfer_data"><block type="variables_set" id="bM#,0=C9hw+#sdn{4ln%"><field name="VAR">MasteReceive</field><value name="VALUE"><block type="spi_transfer_2" id="#3d=gf?(#RncG:IV3ODJ"><value name="transfer_data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text_char" id="9P203:As}j;)+ETwD3d2"><field name="TEXT">A</field></shadow><block type="variables_get" id="{}Y66[kR[B{@^A?3:O^y"><field name="VAR">MasterSend</field></block></value></block></value></block></statement><next><block type="controls_if" id="|A)K/C0=LEmMm^Xb%C_f"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id="?W)(c6AH{?r3k]6Xw3Tp"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="b?b[~UI;qUw--|Yyp-li"><field name="VAR">MasteReceive</field></block></value><value name="B"><block type="math_number" id="?MVmy0Pz[W[jV/(+M}y9"><field name="NUM">1</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="mr9=5:q#w@$$=5R-r)hi"><value name="PIN"><shadow type="pins_digital" id="z;$aHL`b_0YKTAl(9J5I"><field name="PIN">3</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="Q|r{Gm^:YIhwjYjD?]$Z"><field name="BOOL">HIGH</field></shadow></value></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="2f]X2ju--6TLbmxF#`A@"><value name="PIN"><shadow type="pins_digital" id=");WtjlI#Ys@%8`LACCtk"><field name="PIN">3</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="DVR$B?che.gg+?e,uNXH"><field name="BOOL">LOW</field></shadow></value></block></statement><next><block type="controls_delay" id=".U,gfmq$bpFkn8UTf1fh"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="hG0c%sBpz@OT9/(jjE@C"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="X?.R9Le#6jE0Et7kwFrR" x="-1090" y="-43"><statement name="DO"><block type="spi_begin_master" id="a$@xN|94vZPRh,_cJqz|"><value name="spi_slave_pin"><shadow type="pins_digital" id="MD.by6kf(jw(-(Xaz8z8"><field name="PIN">10</field></shadow></value></block></statement></block><block type="spi_transfer_Init" id="@8_f}Q_j9Ft)iXR[_yN!" x="-1083" y="55"><value name="slave_pin"><shadow type="pins_digital" id="0ND4r;]]PY$^raC,HXgb"><field name="PIN">10</field></shadow></value><statement name="transfer_data"><block type="spi_transfer_1" id="tSdJ+l[X/B/8WOG)Lu-)"><value name="transfer_data"><shadow type="text_char" id=")z|HmMljZ%v{gF.J9s5s"><field name="TEXT"> </field></shadow></value></block></statement><next><block type="spi_transfer_Init" id="*Py~kL42yIITbS~VY4B."><value name="slave_pin"><shadow type="pins_digital" id="b!tKmj+H^f9YJq;Cllv`"><field name="PIN">10</field></shadow></value><statement name="transfer_data"><block type="controls_for" id="f7L!sM#NOF;r9R:G?c!N"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="R[lgDDH7H?w:8-sU|/7S"><field name="NUM">0</field></shadow></value><value name="TO"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="$hcATt=5T)gp8jJ3Hf~e"><field name="NUM">10</field></shadow><block type="math_arithmetic" id="BJfv/+C8[SS?-ZKvezHh"><field name="OP">MINUS</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="jObVO~0dTt_c{3?y0PJM"><field name="NUM">1</field></shadow><block type="text_length" id="DT*y6q1U3Jb6T1J0Dw,J"><value name="VAR"><shadow type="text" id="784^O_-nj*)tg_[8Z*Ag"><field name="TEXT">hello!</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="JLW%2Q2bUn+VfOyyv+hg"><field name="NUM">1</field></shadow></value></block></value><value name="STEP"><shadow type="math_number" id="_AG?HFM0@iFs_VT;8xSZ"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_write" id="^TyseYp}G;AV!f57m[Z1"><field name="serial_select">Serial</field><value name="CONTENT"><block type="spi_transfer_2" id="~u(4e+Zc1]R@WCy!mme,"><value name="transfer_data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text_char" id=".wI^{L-M~9KV7x1,_*(0"><field name="TEXT">A</field></shadow><block type="text_char_at" id="_7a0[wk3FM%)4rLi$C*="><value name="VAR"><shadow type="text" id="@pqybzUk}HG0k!(q5R:6"><field name="TEXT">hello!</field></shadow></value><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Bi1lx(kh:zyF;$,bl!xT"><field name="NUM">0</field></shadow><block type="variables_get" id="D6!7~ioZ3SHjfsSIa*;s"><field name="VAR">i</field></block></value></block></value></block></value></block></statement><next><block type="serial_println" id="m)NjLnJ{Er6Z{l-ra*o3"><field name="serial_select">Serial</field><field name="new_line">println</field></block></next></block></statement><next><block type="controls_delay" id="QWx3q]5YMwqF~Py!T@PB"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="o6Di;g0K]})L5TkoI{z|"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="Al,`7VY~Oc1zxa?hAlOc" x="0" y="0"><statement name="DO"><block type="spi_begin_slave" id="K6CnCk!gT])D,9kOyY9@"><next><block type="variables_declare" id=":(}t$UO(C9=ktL72bUqC"><field name="variables_type">global_variate</field><field name="VAR">SlaveSend</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="4UTtCERhWQSg_^a14ka)"><field name="NUM">0</field></block></value><next><block type="serial_begin" id="RmDrc7X#;j|anN=XsYok"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="z7=9e?_Wv*6FFnA?(5)w"><field name="NUM">115200</field></shadow></value></block></next></block></next></block></statement></block><block type="spi_slave_interrupt" id="P(3%kz.W;{RC(5RqxCH6" x="0" y="155"><value name="slave_interrupt_input"><block type="variables_get" id="Q%a??TvE,1k~dg/*A.oq"><field name="VAR">SPDR</field></block></value><statement name="slave_interrupt_data"><block type="controls_if" id="(BH4SHVUv{d!nzgbRRM/"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id="Q+xoLM4^hSLq-+H_;-fN"><field name="OP">EQ</field><value name="A"><block type="spi_slave_receive" id="_hojz$G=Wi7me3Zwwrdp"><value name="slave_receive_data"><block type="variables_get" id="Fqx,?paYj!AsITcp(([F"><field name="VAR">SPDR</field></block></value></block></value><value name="B"><block type="math_number" id="}_cz~HsfP4E8*C$CAm*V"><field name="NUM">1</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="#bVg7.o(!T8nVNL{)~6$"><value name="PIN"><shadow type="pins_digital" id="hFJGYJa1hKe#VT^D#Gii"><field name="PIN">3</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="g,34d1aR~`j|i3ir|0@v"><field name="BOOL">HIGH</field></shadow></value><next><block type="serial_println" id="#b@?ZX@0Snr7N2AVO8Ko"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="gB}tpSm!A9KiC7XcDzBE"><field name="TEXT">Slave LED ON</field></block></value></block></next></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="p5PfJOd+ER~O2Y4#wB$q"><value name="PIN"><shadow type="pins_digital" id="1wbLHD~LL{_JYfWIlr{s"><field name="PIN">3</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="HxtLM?$W.f.#%qGd,wR,"><field name="BOOL">LOW</field></shadow></value><next><block type="serial_println" id="H)Kz9w8X?%5_9=5U9_B6"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="Tz/^wlY]^`4j/hHT6),A"><field name="TEXT">Slave LED OFF</field></block></value></block></next></block></statement></block></statement><next><block type="controls_if" id="DhTGf9=z;;p.{81RFMCo"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="inout_digital_read2" id="N.N)iK)3#/{-vO4~ILsL"><value name="PIN"><shadow type="pins_digital" id="c`nJxT*D[NIq`x9FDsn~"><field name="PIN">2</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="]oA((s_H[HnTIcz^I0S{"><field name="VAR">SlaveSend</field><value name="VALUE"><block type="math_number" id="2PaQvs|CB@uNC!@3$w(l"><field name="NUM">1</field></block></value></block></statement><statement name="ELSE"><block type="variables_set" id="{4Rt#b8BNSUo5w8F)j-4"><field name="VAR">SlaveSend</field><value name="VALUE"><block type="math_number" id="}Wo-$XN9RwkCxm|Mb](%"><field name="NUM">0</field></block></value></block></statement><next><block type="variables_set" id="re*-JqU]o-y`j?%N#h$N"><field name="VAR">SPDR</field><value name="VALUE"><block type="variables_get" id="Kka5c.%QpB#H?X)Ef{ah"><field name="VAR">SlaveSend</field></block></value><next><block type="controls_delay" id="DXm%_j,L*9o3g}(Q~EUM"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="Bn5X;2N+(GDY^|1B=rzH"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="Al,`7VY~Oc1zxa?hAlOc" x="-91" y="12"><statement name="DO"><block type="spi_begin_slave" id="K6CnCk!gT])D,9kOyY9@"><next><block type="variables_declare" id=":(}t$UO(C9=ktL72bUqC"><field name="variables_type">global_variate</field><field name="VAR">SlaveSend</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="4UTtCERhWQSg_^a14ka)"><field name="NUM">0</field></block></value><next><block type="serial_begin" id="RmDrc7X#;j|anN=XsYok"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="z7=9e?_Wv*6FFnA?(5)w"><field name="NUM">115200</field></shadow></value></block></next></block></next></block></statement></block><block type="spi_slave_interrupt" id="P(3%kz.W;{RC(5RqxCH6" x="-86" y="175"><value name="slave_interrupt_input"><block type="variables_get" id="Q%a??TvE,1k~dg/*A.oq"><field name="VAR">SPDR</field></block></value><statement name="slave_interrupt_data"><block type="controls_if" id="(BH4SHVUv{d!nzgbRRM/"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id="Q+xoLM4^hSLq-+H_;-fN"><field name="OP">EQ</field><value name="A"><block type="spi_slave_receive" id="_hojz$G=Wi7me3Zwwrdp"><value name="slave_receive_data"><block type="variables_get" id="Fqx,?paYj!AsITcp(([F"><field name="VAR">SPDR</field></block></value></block></value><value name="B"><block type="math_number" id="}_cz~HsfP4E8*C$CAm*V"><field name="NUM">1</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="#bVg7.o(!T8nVNL{)~6$"><value name="PIN"><shadow type="pins_digital" id="hFJGYJa1hKe#VT^D#Gii"><field name="PIN">3</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="g,34d1aR~`j|i3ir|0@v"><field name="BOOL">HIGH</field></shadow></value><next><block type="serial_println" id="#b@?ZX@0Snr7N2AVO8Ko"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="gB}tpSm!A9KiC7XcDzBE"><field name="TEXT">Slave LED ON</field></block></value></block></next></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="p5PfJOd+ER~O2Y4#wB$q"><value name="PIN"><shadow type="pins_digital" id="1wbLHD~LL{_JYfWIlr{s"><field name="PIN">3</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="HxtLM?$W.f.#%qGd,wR,"><field name="BOOL">LOW</field></shadow></value><next><block type="serial_println" id="H)Kz9w8X?%5_9=5U9_B6"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="Tz/^wlY]^`4j/hHT6),A"><field name="TEXT">Slave LED OFF</field></block></value></block></next></block></statement></block></statement><next><block type="controls_if" id="DhTGf9=z;;p.{81RFMCo"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="inout_digital_read2" id="N.N)iK)3#/{-vO4~ILsL"><value name="PIN"><shadow type="pins_digital" id="c`nJxT*D[NIq`x9FDsn~"><field name="PIN">2</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="]oA((s_H[HnTIcz^I0S{"><field name="VAR">SlaveSend</field><value name="VALUE"><block type="math_number" id="2PaQvs|CB@uNC!@3$w(l"><field name="NUM">1</field></block></value></block></statement><statement name="ELSE"><block type="variables_set" id="{4Rt#b8BNSUo5w8F)j-4"><field name="VAR">SlaveSend</field><value name="VALUE"><block type="math_number" id="}Wo-$XN9RwkCxm|Mb](%"><field name="NUM">0</field></block></value></block></statement><next><block type="variables_set" id="re*-JqU]o-y`j?%N#h$N"><field name="VAR">SPDR</field><value name="VALUE"><block type="variables_get" id="Kka5c.%QpB#H?X)Ef{ah"><field name="VAR">SlaveSend</field></block></value><next><block type="controls_delay" id="DXm%_j,L*9o3g}(Q~EUM"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="Bn5X;2N+(GDY^|1B=rzH"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="#y4@NI?Dz$bOdas(dGNr" x="-28" y="23"><statement name="DO"><block type="variables_declare" id="5t9g^9OqVx|MMEcf8DFM"><field name="variables_type">global_variate</field><field name="VAR">data</field><field name="TYPE">String</field><value name="VALUE"><block type="text" id="`eEL~(0|]*TA`GVKgBuw"><field name="TEXT"> </field></block></value><next><block type="variables_declare" id="CR~@7:#e_zJfgC{]%AJs"><field name="variables_type">global_variate</field><field name="VAR">i</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="KNCIEBkSMV8rcj#GEc._"><field name="NUM">0</field></block></value><next><block type="variables_declare" id="IiNYKT0VS1:`dT]L=mL0"><field name="variables_type">global_variate</field><field name="VAR">data1</field><field name="TYPE">byte</field><value name="VALUE"><block type="variables_get" id="|`Pz)Om!|Lxop#w;;=FN"><field name="VAR">SPDR</field></block></value><next><block type="spi_begin_slave" id="-YLo65T6RzzPYipnT){H"></block></next></block></next></block></next></block></statement></block><block type="spi_slave_interrupt" id="mNc34mjakX}aXdaFwYOs" x="-26" y="189"><value name="slave_interrupt_input"><block type="variables_get" id="faHP*gx/u=@,Nq%-7S]s"><field name="VAR">SPDR</field></block></value><statement name="slave_interrupt_data"><block type="variables_set" id="OO{=kNv+Isp^Wq)hw4u`"><field name="VAR">SPDR</field><value name="VALUE"><block type="text_char_at" id="Oz3eJI-^P-0,k6/%]B5y"><value name="VAR"><shadow type="text" id="oRJ%?oEr4`+K:`qN5NnM"><field name="TEXT">hello</field></shadow></value><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="WAZJkou0n$;=Nhr{Q4,:"><field name="NUM">0</field></shadow><block type="variables_get" id="C!V}-J[hhm%D|?e$V8:K"><field name="VAR">i</field></block></value></block></value><next><block type="variables_operation" id="c}qG5Zp*k*kQ+H|wV1Od"><field name="type">+</field><value name="variables"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="{skzLW+$:{jOm=:f[aCm"><field name="NUM">item</field></shadow><block type="variables_get" id="aEpmIW;gZD;_*23}8mG8"><field name="VAR">i</field></block></value><value name="data"><shadow type="math_number" id="B,GDn?+jb=Eag?2t_E)x"><field name="NUM">1</field></shadow></value><next><block type="variables_operation" id="6G/g(V,F+!zXp39E*3cD"><field name="type">+</field><value name="variables"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="5BK.o#%TQxI8j5j)jjOx"><field name="NUM">item</field></shadow><block type="variables_get" id="=tr$?Ue##[1Hu9vpa7jm"><field name="VAR">data</field></block></value><value name="data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="0k3m{#,00Tx/g.aME9V."><field name="NUM">1</field></shadow><block type="ascii_to_char" id="}0U@.CCKy?J]nGjfu~8K"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="N_m|#xqiVFr.CxJH=TM_"><field name="NUM">223</field></shadow><block type="variables_get" id="}R#xHd^8ZDQhkor(}L%9"><field name="VAR">SPDR</field></block></value></block></value><next><block type="controls_if" id="DHN*y,[iYTLS@v3#auk0"><value name="IF0"><block type="logic_compare" id="1/XHY:AKtT1;UyGdseXw"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="7*}|F3I+%d^N^_F03v5p"><field name="VAR">data1</field></block></value><value name="B"><block type="text_char" id="NUK4[n%(=9u_;6j]a,SS"><field name="TEXT">!</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="#x|l^(Z)=/Ha2)#sn4u$"><field name="VAR">i</field><value name="VALUE"><block type="math_number" id="r5PD!k`Nshz~_/9#dp`i"><field name="NUM">0</field></block></value><next><block type="serial_println" id="YQv?91d?!%0iU*(m3E+P"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="variables_get" id="fL;1qQCITBc{]fo6iszg"><field name="VAR">data</field></block></value><next><block type="variables_set" id="JX6Y[Ii7LrJPA8/P`D9u"><field name="VAR">data</field><value name="VALUE"><block type="text" id="Ni4Qp_[r*$meqG5,Iiuy"><field name="TEXT"> </field></block></value></block></next></block></next></block></statement></block></next></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="CVN^[pMzBCs}ein_cDxG" x="0" y="0"><statement name="DO"><block type="serial_begin" id="C3H6Sub2sa-Dm~mPn(J`"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="GanxgU}943VO:2O%,Qk8"><field name="NUM">9600</field></shadow></value><next><block type="MFRC522_init" id="/v8H1W/(@I)r8KX$pdB|"><field name="rfid_name">rfid</field><value name="PIN_SDA"><shadow type="pins_digital" id="te`!grv78C6#f?k}RKT]"><field name="PIN">10</field></shadow></value><value name="PIN_SCK"><shadow type="pins_SCK" id="CN]*1YJv39}@cEZ#3;.c"><field name="PIN">13</field></shadow></value><value name="PIN_MOSI"><shadow type="pins_MOSI" id="rXwc{8-8BF=oR{d^zo~$"><field name="PIN">11</field></shadow></value><value name="PIN_MISO"><shadow type="pins_MISO" id="z@Xj12[!C/-]spXPNti!"><field name="PIN">12</field></shadow></value><value name="PIN_RST"><shadow type="pins_digital" id="IKuP%,K%?v`=0Ro/4SSp"><field name="PIN">9</field></shadow></value><next><block type="serial_print" id="nwdeGb`~?mL1W@zXSE:P"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="SoMn87qy9YIRgISXax[Y"><field name="TEXT">RFID写卡&amp;读卡测试</field></block></value><next><block type="lists_create_with_text2" id="%LFO5G!tQ`y.tW`@y[N)"><field name="TYPE">byte</field><field name="VAR">mylist</field><field name="SIZE">16</field><field name="TEXT">2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32</field><next><block type="lists_create_with_text2" id="4[0}OV*9lb,$jjwI9Czq"><field name="TYPE">byte</field><field name="VAR">mylist2</field><field name="SIZE">10</field><field name="TEXT">0</field></block></next></block></next></block></next></block></next></block></statement></block><block type="MFRC522_IsNewCard" id="94=iK6j#B/$pkpVAz3k," x="0" y="218"><field name="rfid_name">rfid</field><statement name="DO"><block type="MFRC522_WriteCard" id=")BY%hAt$lahJ=LDL6SyJ"><field name="rfid_name">rfid</field><value name="block"><shadow type="math_number" id="(wh)%sB[c_wm0C$rvW-g"><field name="NUM">1</field></shadow></value><value name="buffer"><shadow type="math_number" id="3LA(Gf8wr.]xs)BS#,8j"><field name="NUM">mylist</field></shadow></value><value name="length"><shadow type="math_number" id="B:Rj*aP`phn:3Ti$yW%N"><field name="NUM">16</field></shadow></value><next><block type="MFRC522_ReadCard" id="S#pnfOov2.z3X;9MMVFt"><field name="rfid_name">rfid</field><value name="block"><shadow type="math_number" id="rN4zWK02q,y[yZ|K]IIW"><field name="NUM">1</field></shadow></value><value name="buffer"><shadow type="math_number" id="D+D4r]}X9I6@m2xlbYRA"><field name="NUM">mylist2</field></shadow></value><value name="length"><shadow type="math_number" id="Y!UHyEHuHl]8;#of^3Xf"><field name="NUM">10</field></shadow></value><next><block type="controls_for" id="h{T(CIV^OmSugdb)e7lN"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="K2d]qOe,+`~:Bte@oLZ)"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="t]-bMLWHUVI)20/uxy{="><field name="NUM">10</field></shadow></value><value name="STEP"><shadow type="math_number" id="EbGLG`X1P,4sFeNM,$As"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_print" id="Q#`hc`@,)a|I]]f-u|R)"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="lists_getIndex" id="::T?]WwDXxB,Tgew#j8J"><field name="VAR">mylist2</field><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="j{p3yfnbXnIK.Bkx8E(]"><field name="NUM">1</field></shadow><block type="variables_get" id="FF;-7)4vR{HxWF[%7T1y"><field name="VAR">i</field></block></value></block></value></block></statement></block></next></block></next></block></statement><next><block type="controls_delay" id="iZ-Vq,3uon:{h:X09;D+"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="qq~73=bP9^%h)%V[{/[S"><field name="NUM">200</field></shadow></value></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="CVN^[pMzBCs}ein_cDxG" x="0" y="0"><statement name="DO"><block type="serial_begin" id="C3H6Sub2sa-Dm~mPn(J`"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="GanxgU}943VO:2O%,Qk8"><field name="NUM">9600</field></shadow></value><next><block type="MFRC522_init" id="AU^oHFq7_A*=#~NW6a#W"><field name="rfid_name">rfid</field><value name="PIN_SDA"><shadow type="pins_digital" id="D@aL#Gz`4#~{qE{Fp@-8"><field name="PIN">10</field></shadow></value><value name="PIN_SCK"><shadow type="pins_SCK" id=":A6GC@@UM?#*iEFkM;i@"><field name="PIN">13</field></shadow></value><value name="PIN_MOSI"><shadow type="pins_MOSI" id="Ed2tSPSj#ANz$!QrCTBP"><field name="PIN">11</field></shadow></value><value name="PIN_MISO"><shadow type="pins_MISO" id="7XiGLl]*aoaDyw#0rx%/"><field name="PIN">12</field></shadow></value><value name="PIN_RST"><shadow type="pins_digital" id="Vq@o$oP$7Mzm0s//3!L4"><field name="PIN">9</field></shadow></value><next><block type="serial_print" id="nwdeGb`~?mL1W@zXSE:P"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="SoMn87qy9YIRgISXax[Y"><field name="TEXT">RFID写卡测试</field></block></value><next><block type="lists_create_with_text2" id="4[0}OV*9lb,$jjwI9Czq"><field name="TYPE">byte</field><field name="VAR">mylist</field><field name="SIZE">16</field><field name="TEXT">1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16</field></block></next></block></next></block></next></block></statement></block><block type="MFRC522_IsNewCard" id="94=iK6j#B/$pkpVAz3k," x="0" y="192"><field name="rfid_name">rfid</field><statement name="DO"><block type="MFRC522_WriteCard" id="5vSLiIHeclh5a7o[*Y"><field name="rfid_name">rfid</field><value name="block"><shadow type="math_number" id="rX.L_51A*fr8cB;n=2?E"><field name="NUM">1</field></shadow></value><value name="buffer"><shadow type="math_number" id="jRY62X+ZRPRxyv-e7z*!"><field name="NUM">mylist</field></shadow></value><value name="length"><shadow type="math_number" id="?DM[{.1bYz]Y(^7C+=bD"><field name="NUM">16</field></shadow></value></block></statement><next><block type="controls_delay" id="iZ-Vq,3uon:{h:X09;D+"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="qq~73=bP9^%h)%V[{/[S"><field name="NUM">200</field></shadow></value></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="CVN^[pMzBCs}ein_cDxG" x="114" y="72"><statement name="DO"><block type="serial_begin" id="C3H6Sub2sa-Dm~mPn(J`"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="GanxgU}943VO:2O%,Qk8"><field name="NUM">9600</field></shadow></value><next><block type="MFRC522_init" id="s`@.]p*#MTs([/RiGNf4"><field name="rfid_name">rfid</field><value name="PIN_SDA"><shadow type="pins_digital" id="sr6[+uT!N2a{mjMEtrTE"><field name="PIN">10</field></shadow></value><value name="PIN_SCK"><shadow type="pins_SCK" id="nVlTB*~?:gNj‚etKf+"><field name="PIN">13</field></shadow></value><value name="PIN_MOSI"><shadow type="pins_MOSI" id="ps.]c6y#Fyw301nIB2ep"><field name="PIN">11</field></shadow></value><value name="PIN_MISO"><shadow type="pins_MISO" id="l$GJT;r$J0aV|z%1jySK"><field name="PIN">12</field></shadow></value><value name="PIN_RST"><shadow type="pins_digital" id="@(1$CVThkqQgR`LjjN7)"><field name="PIN">9</field></shadow></value><next><block type="serial_print" id="nwdeGb`~?mL1W@zXSE:P"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="SoMn87qy9YIRgISXax[Y"><field name="TEXT">RFID读卡测试</field></block></value><next><block type="lists_create_with_text2" id="4[0}OV*9lb,$jjwI9Czq"><field name="TYPE">byte</field><field name="VAR">mylist</field><field name="SIZE">16</field><field name="TEXT">0</field></block></next></block></next></block></next></block></statement></block><block type="MFRC522_IsNewCard" id="94=iK6j#B/$pkpVAz3k," x="126" y="309"><field name="rfid_name">rfid</field><statement name="DO"><block type="MFRC522_ReadCard" id="S#pnfOov2.z3X;9MMVFt"><field name="rfid_name">rfid</field><value name="block"><shadow type="math_number" id="rN4zWK02q,y[yZ|K]IIW"><field name="NUM">1</field></shadow></value><value name="buffer"><shadow type="math_number" id="D+D4r]}X9I6@m2xlbYRA"><field name="NUM">mylist</field></shadow></value><value name="length"><shadow type="math_number" id="Y!UHyEHuHl]8;#of^3Xf"><field name="NUM">16</field></shadow></value><next><block type="controls_for" id="h{T(CIV^OmSugdb)e7lN"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="K2d]qOe,+`~:Bte@oLZ)"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="t]-bMLWHUVI)20/uxy{="><field name="NUM">16</field></shadow></value><value name="STEP"><shadow type="math_number" id="EbGLG`X1P,4sFeNM,$As"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_print" id="Q#`hc`@,)a|I]]f-u|R)"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="lists_getIndex" id="::T?]WwDXxB,Tgew#j8J"><field name="VAR">mylist</field><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="j{p3yfnbXnIK.Bkx8E(]"><field name="NUM">1</field></shadow><block type="variables_get" id="FF;-7)4vR{HxWF[%7T1y"><field name="VAR">i</field></block></value></block></value></block></statement></block></next></block></statement><next><block type="controls_delay" id="iZ-Vq,3uon:{h:X09;D+"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="qq~73=bP9^%h)%V[{/[S"><field name="NUM">200</field></shadow></value></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="CVN^[pMzBCs}ein_cDxG" x="0" y="0"><statement name="DO"><block type="serial_begin" id="C3H6Sub2sa-Dm~mPn(J`"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="GanxgU}943VO:2O%,Qk8"><field name="NUM">9600</field></shadow></value><next><block type="MFRC522_init" id="#U}X($S;~98i$N$4G3/-"><field name="rfid_name">rfid</field><value name="PIN_SDA"><shadow type="pins_digital" id="-Xzvsx*kQ.*U,sNC(mNb"><field name="PIN">10</field></shadow></value><value name="PIN_SCK"><shadow type="pins_SCK" id="32i6iB/-|d@x^9*ryYte"><field name="PIN">13</field></shadow></value><value name="PIN_MOSI"><shadow type="pins_MOSI" id="?}4(9TSfCgdU@:!I54#z"><field name="PIN">11</field></shadow></value><value name="PIN_MISO"><shadow type="pins_MISO" id="gxEVoZZsJ0T|vXhZP:B="><field name="PIN">12</field></shadow></value><value name="PIN_RST"><shadow type="pins_digital" id="6vT9rT=L%coXwXL3P,gZ"><field name="PIN">9</field></shadow></value><next><block type="variables_declare" id="y4Qtm1$-i_Af[K7}aPHY"><field name="variables_type">global_variate</field><field name="VAR">RFID_CardUID</field><field name="TYPE">String</field><value name="VALUE"><block type="text" id="|7ZNHG49G]#TNIA]Kl6~"><field name="TEXT"></field></block></value><next><block type="serial_print" id="nwdeGb`~?mL1W@zXSE:P"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="SoMn87qy9YIRgISXax[Y"><field name="TEXT">读取RFID卡号测试</field></block></value></block></next></block></next></block></next></block></statement></block><block type="MFRC522_IsNewCard" id="94=iK6j#B/$pkpVAz3k," x="0" y="192"><field name="rfid_name">rfid</field><statement name="DO"><block type="variables_set" id="o?5sZ?Kv^8EX5CN)`l,0"><field name="VAR">RFID_CardUID</field><value name="VALUE"><block type="MFRC522_ReadCardUID" id="c2yxpdGX}(dW_?G1s_3z"><field name="rfid_name">rfid</field></block></value><next><block type="serial_print" id="fL@*)16@oWQ|YdU/pI!V"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join" id="u3)4;f8VhiGun%$/}NuK"><value name="A"><shadow type="text" id="XZb]N2xAijpLL!gflm[."><field name="TEXT">Card UID</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="uF5}}o`vX5LXm^G:U/a#"><field name="TEXT">Mixly</field></shadow><block type="variables_get" id="P0.D$O=l!`Y0Lfd,rI#m"><field name="VAR">RFID_CardUID</field></block></value></block></value></block></next></block></statement><next><block type="controls_delay" id="iZ-Vq,3uon:{h:X09;D+"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="qq~73=bP9^%h)%V[{/[S"><field name="NUM">200</field></shadow></value></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="1H={rIfpPxmalL?WL]JX" x="0" y="0"><field name="VALUE">D2:接按钮\nD9:接LED\n按下按钮可以控制LED开关切换并且将开关状态存储到EEPROM中。\n每次重启时先从EEPROM中读取灯在之前的状态先将灯的状态恢复。\n即如果主板在断电之前灯是开启状态的主板重启后自动开灯。</field></block><block type="base_setup" id="PMT~jGHe-HkYOX7Y`ksT" x="0" y="145"><statement name="DO"><block type="variables_declare" id="%|Mp8=TI$_R1mE61o9j?"><field name="variables_type">global_variate</field><field name="VAR">state</field><field name="TYPE">boolean</field><value name="VALUE"><block type="logic_boolean" id="3huHD9-~G=u?TU:h(u-B"><field name="BOOL">FALSE</field></block></value><next><block type="variables_set" id="X9Osae=uf,fsE9GkkY4D"><field name="VAR">state</field><value name="VALUE"><block type="store_eeprom_read_byte" id="v6VX@/@#_W$Jb!80+n-T"><value name="ADDRESS"><shadow type="math_number" id="!;YYf2L]CVq^hT@^2e0."><field name="NUM">0</field></shadow></value></block></value><next><block type="inout_digital_write2" id="2LeMMT0)zX))[Mz}]wNz"><value name="PIN"><shadow type="pins_digital" id="y;X3*H6A?^7rAsbyrCt}"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="bNq*YB1O@WX)Ukb4/#7s"><field name="BOOL">HIGH</field></shadow><block type="variables_get" id="a+OZMuEehV%itKhRxDD7"><field name="VAR">state</field></block></value></block></next></block></next></block></statement></block><block type="OneButton_interrupt" id="twH-O}%KuQE$J0/.FA01" x="0" y="300"><field name="mode">attachClick</field><value name="PIN"><shadow type="pins_digital" id="N__5Yx}(otfh;}_v5%.G"><field name="PIN">2</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="z/.;|3ged9m]ZINJ;y=m"><field name="BOOL">LOW</field></shadow></value><statement name="DO"><block type="variables_set" id="DQUHtZrMdhi0$cTw4K]R"><field name="VAR">state</field><value name="VALUE"><block type="logic_negate" id="?!^lJL*y)=xY+]aRS0/|"><value name="BOOL"><block type="variables_get" id="zzU}82;nQ`jOmk;jV(=Z"><field name="VAR">state</field></block></value></block></value><next><block type="inout_digital_write2" id=":c$}_rqmbIpEvLU)a=LU"><value name="PIN"><shadow type="pins_digital" id="ePhj;]eG0nI.CÐ_552"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="bNq*YB1O@WX)Ukb4/#7s"><field name="BOOL">HIGH</field></shadow><block type="variables_get" id="kVkPC?oxO.C=R3$pH64*"><field name="VAR">state</field></block></value><next><block type="store_eeprom_write_byte" id="(#Av+Pp/mfHCCRg:#cS4"><value name="ADDRESS"><shadow type="math_number" id="F.=lc8BIIp;XZ~Ke)`;;"><field name="NUM">0</field></shadow></value><value name="DATA"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="~Z}X0QA!)DEkJ0a_UN;V"><field name="NUM">0</field></shadow><block type="variables_get" id="741GXYuLb7fHQHqNv,K="><field name="VAR">state</field></block></value></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="/CUKHeqj4lG/Y,im`Ot%" x="67" y="17"><statement name="DO"><block type="serial_begin" id="TK!G57%-6Yby3j}0PWEf"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="EbXWpCv|Q{Q6MZ/YrnYL"><field name="NUM">9600</field></shadow></value><next><block type="lists_create_with2" id="62$AO}1EcuXf{t!q*u6#"><mutation xmlns="http://www.w3.org/1999/xhtml" items="7"></mutation><field name="TYPE">char</field><field name="VAR">mylist</field><value name="ADD0"><block type="text_char" id="PL4A_ip6,pZAY9O!#(uo"><field name="TEXT">a</field></block></value><value name="ADD1"><block type="text_char" id="ZpY`BPtXHxHQx5,.5u8g"><field name="TEXT">b</field></block></value><value name="ADD2"><block type="text_char" id="oPJ$c:+H9_$i?6:sCwHp"><field name="TEXT">c</field></block></value><value name="ADD3"><block type="text_char" id="kehz3r):x~=Dl45Pnqx,"><field name="TEXT">d</field></block></value><value name="ADD4"><block type="text_char" id="x5_#_)k/uDs,YI)Z4Jon"><field name="TEXT">e</field></block></value><value name="ADD5"><block type="text_char" id="1(KRotq^KMrvA9[Z_/,M"><field name="TEXT">f</field></block></value><value name="ADD6"><block type="text_char" id="Nd7?p@=ac_3(oN+I({lX"><field name="TEXT">g</field></block></value><next><block type="lists_create_with_text2" id="r$whVct|IJUSE[g1A}$#"><field name="TYPE">char</field><field name="VAR">mylist1</field><field name="SIZE">7</field><field name="TEXT">0</field><next><block type="store_eeprom_put" id="%(fKX7,[#9+kfgF-VD|#"><value name="ADDRESS"><shadow type="math_number" id="ibM42@[h~JBM`BB(8x[W"><field name="NUM">0</field></shadow></value><value name="DATA"><shadow type="math_number" id=".y8DLNfw.E7X!^=$J+1G"><field name="NUM">mylist</field></shadow></value><next><block type="store_eeprom_get" id="-5r2jo77`:7#/QY`?|Hs"><value name="ADDRESS"><shadow type="math_number" id="~wA?M_!fXGd~sRs7oJZ`"><field name="NUM">0</field></shadow></value><value name="DATA"><shadow type="math_number" id="FK1@Pdb@P8@=8#33wJzx"><field name="NUM">mylist1</field></shadow></value><next><block type="controls_for" id="gHNEH27jaln}ST4C`z=U"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="w4N6djLK/%YS1No!NSTo"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="5iZB^#MjIkqp??#sh=K%"><field name="NUM">7</field></shadow></value><value name="STEP"><shadow type="math_number" id="O,2khL0z(LC{x^iM31!V"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_print" id="OH@i9#S8s3l*;?kOmn^`"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="lists_getIndex" id="i~BgW;SNrUd/hbqO0.7v"><field name="VAR">mylist1</field><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="AtEpBFly2kZOyR1K$Gn+"><field name="NUM">1</field></shadow><block type="variables_get" id="g6$=.Te-`m!S/vNvYEoV"><field name="VAR">i</field></block></value></block></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="/CUKHeqj4lG/Y,im`Ot%" x="67" y="17"><statement name="DO"><block type="serial_begin" id="TK!G57%-6Yby3j}0PWEf"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="EbXWpCv|Q{Q6MZ/YrnYL"><field name="NUM">9600</field></shadow></value><next><block type="lists_create_with2" id="62$AO}1EcuXf{t!q*u6#"><mutation xmlns="http://www.w3.org/1999/xhtml" items="7"></mutation><field name="TYPE">byte</field><field name="VAR">mylist</field><value name="ADD0"><block type="math_number" id="FLB]8PX|+$lgCk[PyFi]"><field name="NUM">1</field></block></value><value name="ADD1"><block type="math_number" id="2?x+E5?s^A5R}i/C1=-R"><field name="NUM">2</field></block></value><value name="ADD2"><block type="math_number" id=":f,at(0NymexeEy;m)St"><field name="NUM">3</field></block></value><value name="ADD3"><block type="math_number" id="/8dM0KmCygywLU?1Hjs)"><field name="NUM">4</field></block></value><value name="ADD4"><block type="math_number" id="DNk-IjRahn8MS9V;!q+h"><field name="NUM">5</field></block></value><value name="ADD5"><block type="math_number" id="u`w*6WuJiFTChyV]2Se^"><field name="NUM">6</field></block></value><value name="ADD6"><block type="math_number" id="|_B]T}S/.ltxO+eT~fmQ"><field name="NUM">7</field></block></value><next><block type="lists_create_with_text2" id="r$whVct|IJUSE[g1A}$#"><field name="TYPE">byte</field><field name="VAR">mylist1</field><field name="SIZE">7</field><field name="TEXT">0</field><next><block type="store_eeprom_put" id="%(fKX7,[#9+kfgF-VD|#"><value name="ADDRESS"><shadow type="math_number" id="ibM42@[h~JBM`BB(8x[W"><field name="NUM">0</field></shadow></value><value name="DATA"><shadow type="math_number" id=".y8DLNfw.E7X!^=$J+1G"><field name="NUM">mylist</field></shadow></value><next><block type="store_eeprom_get" id="-5r2jo77`:7#/QY`?|Hs"><value name="ADDRESS"><shadow type="math_number" id="~wA?M_!fXGd~sRs7oJZ`"><field name="NUM">0</field></shadow></value><value name="DATA"><shadow type="math_number" id="FK1@Pdb@P8@=8#33wJzx"><field name="NUM">mylist1</field></shadow></value><next><block type="controls_for" id="gHNEH27jaln}ST4C`z=U"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="w4N6djLK/%YS1No!NSTo"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="5iZB^#MjIkqp??#sh=K%"><field name="NUM">7</field></shadow></value><value name="STEP"><shadow type="math_number" id="O,2khL0z(LC{x^iM31!V"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_print" id="OH@i9#S8s3l*;?kOmn^`"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="lists_getIndex" id="i~BgW;SNrUd/hbqO0.7v"><field name="VAR">mylist1</field><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="AtEpBFly2kZOyR1K$Gn+"><field name="NUM">1</field></shadow><block type="variables_get" id="g6$=.Te-`m!S/vNvYEoV"><field name="VAR">i</field></block></value></block></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="/CUKHeqj4lG/Y,im`Ot%" x="67" y="17"><statement name="DO"><block type="serial_begin" id="TK!G57%-6Yby3j}0PWEf"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="EbXWpCv|Q{Q6MZ/YrnYL"><field name="NUM">9600</field></shadow></value><next><block type="variables_declare" id="3aqt`aNa)bH*Qxsc(CN^"><field name="variables_type">global_variate</field><field name="VAR">put_data</field><field name="TYPE">float</field><value name="VALUE"><block type="math_number" id="7SB-SI),slyG#`HUUFj*"><field name="NUM">3.14</field></block></value><next><block type="variables_declare" id="t6aj0CTL1,sUH|X0UVE2"><field name="variables_type">global_variate</field><field name="VAR">get_data</field><field name="TYPE">float</field><value name="VALUE"><block type="math_number" id="{`9U@m4Q[~7m.?0N^7rh"><field name="NUM">0</field></block></value><next><block type="store_eeprom_put" id="%(fKX7,[#9+kfgF-VD|#"><value name="ADDRESS"><shadow type="math_number" id="ibM42@[h~JBM`BB(8x[W"><field name="NUM">0</field></shadow></value><value name="DATA"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=".y8DLNfw.E7X!^=$J+1G"><field name="NUM">0</field></shadow><block type="variables_get" id="_o=g**XAt`N-=y07..*="><field name="VAR">put_data</field></block></value><next><block type="store_eeprom_get" id="-5r2jo77`:7#/QY`?|Hs"><value name="ADDRESS"><shadow type="math_number" id="~wA?M_!fXGd~sRs7oJZ`"><field name="NUM">0</field></shadow></value><value name="DATA"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="FK1@Pdb@P8@=8#33wJzx"><field name="NUM">item</field></shadow><block type="variables_get" id="$c1vw)`gw=+|zx%oZ^w`"><field name="VAR">get_data</field></block></value><next><block type="serial_print" id="OH@i9#S8s3l*;?kOmn^`"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="variables_get" id="qyNx~TP1{g4wl9KTyB39"><field name="VAR">get_data</field></block></value></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="Wyt61=p9[3doow)ZK,R{" x="101" y="88"><statement name="DO"><block type="serial_begin" id="_!!50rZTV4UNd)w?dBXb"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="Ii_z{dX_VvOG$MbqKpOP"><field name="NUM">9600</field></shadow></value><next><block type="variables_declare" id="LLV9[au@55vz8]$jTx$_"><field name="variables_type">global_variate</field><field name="VAR">put_data</field><field name="TYPE">unsigned long</field><value name="VALUE"><block type="math_number" id="Fd)z]:wbnfndhg^QXzA{"><field name="NUM">123456789</field></block></value><next><block type="variables_declare" id="H(MuPgsMbH$N3m[uSOKb"><field name="variables_type">global_variate</field><field name="VAR">get_data</field><field name="TYPE">unsigned long</field><value name="VALUE"><block type="math_number" id="dB|[wx~J{`oW#n=D@lFr"><field name="NUM">0</field></block></value><next><block type="store_eeprom_put" id="L92d~-(=ePShNRDLnM[n"><value name="ADDRESS"><shadow type="math_number" id="goOf:}s{8THtJ65sM9Y:"><field name="NUM">0</field></shadow></value><value name="DATA"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="T!3n:9YJl0^eSm|c6$@%"><field name="NUM">0</field></shadow><block type="variables_get" id="!ks;sLC#||z1X?TÎm9"><field name="VAR">put_data</field></block></value><next><block type="store_eeprom_get" id="u8I{wJ%s2O,}b^_f@N-3"><value name="ADDRESS"><shadow type="math_number" id="R7X3QWi4Nx-,IU/Pdk.-"><field name="NUM">0</field></shadow></value><value name="DATA"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="L]u!X~;dP#Fr,wtk-o@@"><field name="NUM">item</field></shadow><block type="variables_get" id="_UHmYHZ}1T0[fojX`m7L"><field name="VAR">get_data</field></block></value><next><block type="serial_print" id="sX8p9Eb$#;{ck(A!IhqA"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="variables_get" id="bK5MNsZMFzHK6{}49[6f"><field name="VAR">get_data</field></block></value></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="7E(N@4A|g*a^4jr6gy19" x="-269" y="52"><field name="VALUE">超声波测距\n超声波传感器trig接D2Echo接D3\n串口输出超声波传感器检测的距离值</field><next><block type="serial_begin" id=":W`^4cqg!JfN4NG/5XNQ"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="8i#5Ge^HVC$}U~!B,[5D"><field name="NUM">9600</field></shadow></value><next><block type="serial_print" id="9{^PL0M#}h1}|pPs$~t2"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id="PI9nZSH#Z%HM=3_hGY[}" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation><value name="ADD0"><block type="text" id="q}n1A$9LQ;bUVzTvHh8v"><field name="TEXT">距离:</field></block></value><value name="ADD1"><block type="chaoshengbo2" id="}6(#2s/N5eOU9~Q%iUde"><field name="Trig">2</field><field name="Echo">3</field></block></value><value name="ADD2"><block type="text" id="to{OQf@dAz)Rz.KAtr0p"><field name="TEXT">cm</field></block></value></block></value><next><block type="controls_delay" id="SD)NQecJy;P0he#_H]g#"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="nuOv.Yh|%r@7O|yR/St8"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="k0!2|oIL/3,aApu*7lXz" x="-1413" y="102"><field name="VALUE">温湿度计\nDHT11接D4LCD1402接IIC接口\n将看到LCD上显示温度和温度及单位\n注摄氏度符号由小圆圈对应的ASCII码是0xdf后面是大写字母C组成</field><next><block type="group_lcd_init2" id="C0+RanPN!oc+vPC/Mal-"><field name="TYPE">16,2</field><field name="VAR">mylcd</field><field name="SCL">A5</field><field name="SDA">A4</field><value name="device"><shadow type="math_number" id="6LaV6T9o/zcL#G:SAaoU"><field name="NUM">0x3f</field></shadow></value><next><block type="group_lcd_print2" id="ZIt2Ow{bZhmo2~Hg|=Z`"><field name="VAR">mylcd</field><value name="row"><shadow type="math_number" id="P`)@toqpnbA#saH$V4/p"><field name="NUM">1</field></shadow></value><value name="column"><shadow type="math_number" id="@q[8a]k@b%zP-S(`8_HG"><field name="NUM">1</field></shadow></value><value name="TEXT"><block type="text_join" id="qynLveW%mq0[5yZ2iwSd"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id=".D|mdhB^Nr=@r$u4q86X"><field name="TEXT">Hello</field></shadow><block type="DHT" id="rb3A#1RCk$(-4[hT|!C;"><field name="TYPE">11</field><field name="PIN">4</field><field name="WHAT">temperature</field></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="2A,P+PtZvxM%.Y_[2a!X"><field name="TEXT">Mixly</field></shadow><block type="text_join" id="?O}71{v6X$wm`pWhO?4x"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="pEYr+gyMtXC`[^BFqs=+"><field name="TEXT">Hello</field></shadow><block type="ascii_to_char" id="Fxh~.t,l.iF-oM)E=pO/"><value name="VAR"><shadow type="math_number" id="UVpwd%dSrDM2wzpXHi^W"><field name="NUM">0xdf</field></shadow></value></block></value><value name="B"><shadow type="text" id="C52Ed7PFi)|z^8z3~;9z"><field name="TEXT">C</field></shadow></value></block></value></block></value><next><block type="group_lcd_print2" id="3opqsipYAgs8@fw0ok1S"><field name="VAR">mylcd</field><value name="row"><shadow type="math_number" id="OcB1MM]v`j}9Z%ZBL0~;"><field name="NUM">2</field></shadow></value><value name="column"><shadow type="math_number" id=")zQNXUyVga-ycQ7nKhEW"><field name="NUM">1</field></shadow></value><value name="TEXT"><block type="text_join" id="}9EoS|^^V~1a^QXFm::a"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id=".D|mdhB^Nr=@r$u4q86X"><field name="TEXT">Hello</field></shadow><block type="DHT" id="@W~SxXiTk5D6(bS)%E?#"><field name="TYPE">11</field><field name="PIN">4</field><field name="WHAT">humidity</field></block></value><value name="B"><shadow type="text" id="2A,P+PtZvxM%.Y_[2a!X"><field name="TEXT">%</field></shadow></value></block></value><next><block type="controls_end_program" id="XU74o.eUpXm$TZdRuCqx"></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="N4f:Ou2)PaV}}s(pwR9V" x="-280" y="66"><field name="VALUE">DS18B20读取温度\nDS18B20连接在D2管脚串口打印出温度值\n注如果使用的DS18B20是散件则需要在电源线和信号线之间并联一个5K左右的电阻</field><next><block type="serial_begin" id=":W`^4cqg!JfN4NG/5XNQ"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="8i#5Ge^HVC$}U~!B,[5D"><field name="NUM">9600</field></shadow></value><next><block type="serial_print" id="9{^PL0M#}h1}|pPs$~t2"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id="PI9nZSH#Z%HM=3_hGY[}" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation><value name="ADD0"><block type="text" id="q}n1A$9LQ;bUVzTvHh8v"><field name="TEXT">温度:</field></block></value><value name="ADD1"><block type="ds18b20" id="?EalijiGf#1B]T2{[^[9"><field name="PIN">2</field><field name="UNIT">0</field></block></value><value name="ADD2"><block type="text" id="to{OQf@dAz)Rz.KAtr0p"><field name="TEXT">℃</field></block></value></block></value><next><block type="serial_print" id="M3Re@i!JuKuwif=M^wvb"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id="iANWn%y5!db],+2^jNi{" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation><value name="ADD0"><block type="text" id="OA2rPi-EbZ@cvI~ivqE`"><field name="TEXT">温度:</field></block></value><value name="ADD1"><block type="ds18b20" id="VD/!E6bbA]ueK%h*|RD-"><field name="PIN">2</field><field name="UNIT">1</field></block></value><value name="ADD2"><block type="text" id="-9;eB;J.LT}R]/w$VR`4"><field name="TEXT">℉</field></block></value></block></value><next><block type="serial_print" id="w!6_4MHZlM~,Cc+9t;!3"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="$p:N_?;gF7@|]p82GJ0R"><field name="TEXT"></field></block></value><next><block type="controls_delay" id="SD)NQecJy;P0he#_H]g#"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="nuOv.Yh|%r@7O|yR/St8"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id=")9.sZi.,vs-39t,XG(0J" x="-4" y="115"><field name="VALUE">MLX90614测温\nMLX90614连接IIC接口\n</field><next><block type="serial_begin" id="]=n:t%mRFZ+$*Md1TiV;"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="Xr!-lU%j*vsA{P$^~,Ph"><field name="NUM">9600</field></shadow></value><next><block type="mlx90614_init" id="M,N1]_BMxk=|bQ+5yb2w"><value name="mlx90614_address"><shadow type="math_number" id="T@x)M9Tz=om{h=,e5q8H"><field name="NUM">0x5A</field></shadow></value><next><block type="serial_println" id="jSsWsM?t6?#53[A,n13I"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id="joz1:3Rc?F0Z8D9g,LXc" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="5"></mutation><value name="ADD0"><block type="text" id="lswwHKMk)/]=y#WdgcP["><field name="TEXT">目标物体温度:</field></block></value><value name="ADD1"><block type="mlx90614_get_data" id="#P?08/#2bez%tW44t`Mk"><field name="mlx90614_data">readObjectTempC</field></block></value><value name="ADD2"><block type="text" id="8{8?X2y==MtEu!tZraL."><field name="TEXT">℃ </field></block></value><value name="ADD3"><block type="mlx90614_get_data" id="lwnCU;8GGM=PBt?Dac{?"><field name="mlx90614_data">readObjectTempF</field></block></value><value name="ADD4"><block type="text" id="93=|ib3`0C*gF|Zi[%Ho"><field name="TEXT">℉</field></block></value></block></value><next><block type="serial_println" id="::?:Y2;CUhBHRdodC4Mw"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id="/J=fN~q!{~hCx?H:uqOV" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="5"></mutation><value name="ADD0"><block type="text" id=".{.n}!Fokj0}Iek;6+Ue"><field name="TEXT">周围环境温度:</field></block></value><value name="ADD1"><block type="mlx90614_get_data" id="zGS{1N_F;,h+Ue1:{iKh"><field name="mlx90614_data">readAmbientTempC</field></block></value><value name="ADD2"><block type="text" id="G6e16-i!]@M}(p/h_eXu"><field name="TEXT">℃ </field></block></value><value name="ADD3"><block type="mlx90614_get_data" id="}33[3uL)#L-.#+PzBq7N"><field name="mlx90614_data">readAmbientTempF</field></block></value><value name="ADD4"><block type="text" id="np[$6DC@+vVoDh$sq#A."><field name="TEXT">℉</field></block></value></block></value><next><block type="serial_println" id="L7l`*MG)PK4zF}qB/xWh"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="@eVBfV,Upb42C/oL^[Hy"><field name="TEXT">\\n\\n</field></block></value><next><block type="controls_delay" id="zQE@HSf7t3.1N#uhT/aO"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id=":AHY-KAPxL~e,ys_d/r`"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="aZ;}G6R[mCbbk@q:Oc1E" x="133" y="205"><field name="VALUE">TCS34725颜色识别传感器\nTCS34725传感器连接在IIC接口</field><next><block type="serial_begin" id="ex[?nXO%9K9HCFc:MfGS"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="8bHh.zD=_57#B^VGMeWG"><field name="NUM">9600</field></shadow></value><next><block type="serial_print" id="QD+)k,^i3{ZB(%j)?*6h"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="text_join2" id="sBA,?~J:llMLn(7=_I+*" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="6"></mutation><value name="ADD0"><block type="text" id="~l[d^khdT;Zge*(TtZZ["><field name="TEXT">R:</field></block></value><value name="ADD1"><block type="TCS34725_Get_RGB" id="3yj|+C0)+,/Z|uadH_2$"><field name="DF_TCS34725_COLOR">tcs34725.getRedToGamma()</field></block></value><value name="ADD2"><block type="text" id="V|;x`?,pc.J;+CiV%EGl"><field name="TEXT"> G:</field></block></value><value name="ADD3"><block type="TCS34725_Get_RGB" id="o)G~r-d_@DtOg_qGhi``"><field name="DF_TCS34725_COLOR">tcs34725.getGreenToGamma()</field></block></value><value name="ADD4"><block type="text" id="kA_7;D5`,fjopd/Tg90."><field name="TEXT"> B:</field></block></value><value name="ADD5"><block type="TCS34725_Get_RGB" id="GO4W1?AVHP6a=Ed5To=U"><field name="DF_TCS34725_COLOR">tcs34725.getBlueToGamma()</field></block></value></block></value><next><block type="serial_print" id="1~LyT:=q1r`49#F|z-AW"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="H(%#ic4TJ#E[.v@M!;U$"><field name="TEXT"></field></block></value><next><block type="controls_delay" id="4pJ767Z2?r|YzY-`jp/p"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="rmP}$qZ%Po.U0w=DSQm["><field name="NUM">500</field></shadow></value></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="X3T/a@3SFdv+e/:u_Zh]" x="-31" y="114"><field name="VALUE">TCS230颜色识别传感器</field><next><block type="serial_begin" id="w05ZBH(!d4Nx+4O:o$k9"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="a7WN9/K57zKgz4d|D13v"><field name="NUM">9600</field></shadow></value><next><block type="tcs230_init" id="-g#h:Oqd/P0VJ.^2_ABe"><value name="tcs230_s0"><shadow type="pins_digital" id="Z0Z#(1q7;~J8jjx]O@C{"><field name="PIN">2</field></shadow></value><value name="tcs230_s1"><shadow type="pins_digital" id="%+=@v2m*=s[Ntpq5Ub3s"><field name="PIN">3</field></shadow></value><value name="tcs230_s2"><shadow type="pins_digital" id="J`kAhot4j`F^RUR|Y^}~"><field name="PIN">4</field></shadow></value><value name="tcs230_s3"><shadow type="pins_digital" id="C_/5te01|-;8h^4L?T:b"><field name="PIN">5</field></shadow></value><value name="tcs230_led"><shadow type="pins_digital" id="M2(SY~CK^%PB{*dECa;;"><field name="PIN">6</field></shadow></value><value name="tcs230_out"><shadow type="pins_digital" id="KG)=/[k9]K/NsLsZu!zo"><field name="PIN">7</field></shadow></value><next><block type="serial_print" id="z[:D_kpxZej=X{^j`znE"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id="Gm~L=|CDITGQOj-O~aNJ" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="6"></mutation><value name="ADD0"><block type="text" id="e31noB[U;~fRtbeYxBQA"><field name="TEXT">R:</field></block></value><value name="ADD1"><block type="tcs230_Get_RGB" id="gZ0?]:07W:b:aV):=;U*"><field name="tcs230_color">R</field></block></value><value name="ADD2"><block type="text" id="*ja;:jbuL+Iy|o-cB)aR"><field name="TEXT"> G:</field></block></value><value name="ADD3"><block type="tcs230_Get_RGB" id="NPwgZV!LF`.vf#[rgQm]"><field name="tcs230_color">G</field></block></value><value name="ADD4"><block type="text" id="^:d*B_llp/C%kyh*ZSF3"><field name="TEXT"> B:</field></block></value><value name="ADD5"><block type="tcs230_Get_RGB" id="Fz!;{Xq7dA:[=LGcDZ"><field name="tcs230_color">B</field></block></value></block></value><next><block type="serial_print" id="=I;3Pm~Eg*6qXJV4,/2?"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="5T-^yV5YE)zlcq|CXkSO"><field name="TEXT"></field></block></value><next><block type="controls_delay" id="5W^%zOB8]{bO;Y}X;Pc}"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="!(KWm2%%fVSF/QWyi|d|"><field name="NUM">500</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

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="wW~HB.uP7}M-QoxlMuT5" x="61" y="-48"><field name="VALUE">串口输出日期\nDS102接线RST-D2,DAT-D3,CLK-D4</field><next><block type="serial_begin" id="t^$cE8-n1WmX#_ETL55,"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="X`5+?[@[g;cjix8dXyXJ"><field name="NUM">9600</field></shadow></value><next><block type="DS1302_init" id="K~9::`zX(qR(~Co6U.qF"><value name="RST"><shadow type="pins_digital" id="O}KibXsCQrvA_*!lWy0#"><field name="PIN">2</field></shadow></value><value name="DAT"><shadow type="pins_digital" id="yG)1rqR)o.u?G4B9215P"><field name="PIN">3</field></shadow></value><value name="CLK"><shadow type="pins_digital" id=",3.J[l|{ru_vTgMz^SbP"><field name="PIN">4</field></shadow></value><next><block type="serial_println" id="{G!m2HsDwRs}5{#1C_Rh"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join" id="f7)y0dPqOFv`mDre]OYN"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="K;n.pVN;P,tpEpxM+JsA"><field name="TEXT">Hello</field></shadow><block type="text_join" id=",6Du{bL}NoWQ+%dgcfa_"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="K;n.pVN;P,tpEpxM+JsA"><field name="TEXT">Hello</field></shadow><block type="RTC_get_time" id="jO%R4uscEmCJ5XoKdIT6"><field name="TIME_TYPE">Year</field></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="!#6E1093)^n$e5-4O=DG"><field name="TEXT">Mixly</field></shadow><block type="text_join" id="NcnC*a81C?BAdy`{Npkk"><value name="A"><shadow type="text" id="j}0xI5*sY{3I4),mktxo"><field name="TEXT">/</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~R+VNrbI}@)!mvM)k.QY"><field name="TEXT">Mixly</field></shadow><block type="RTC_get_time" id="}Ksg1-]|-?OlK{uNhN+k"><field name="TIME_TYPE">Month</field></block></value></block></value></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~R+VNrbI}@)!mvM)k.QY"><field name="TEXT">Mixly</field></shadow><block type="text_join" id="CO++K~*KqGzG0Lnvq.+T"><value name="A"><shadow type="text" id="Vk[}dUeN-|nU5M6$9dF,"><field name="TEXT">/</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~R+VNrbI}@)!mvM)k.QY"><field name="TEXT">Mixly</field></shadow><block type="RTC_get_time" id="f]21Pcbp5#DXE#C@_4wV"><field name="TIME_TYPE">Day</field></block></value></block></value></block></value><next><block type="serial_print" id="l.cza#V+#vL}$GiSqk`?"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="h#bcg2HKH-Uf~4y)Fag-"><field name="TEXT"></field></block></value><next><block type="controls_delay" id="Y|Npn]LW}:)9*:cUu:E_"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="Pgq:[j9:1-Yy9ZkN;aiY"><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

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="4UcFR-uv`bnig0nvtrf9" x="0" y="0"><statement name="DO"><block type="variables_declare" id="YArv.v[QPAs5wu#l0dnl"><field name="variables_type">global_variate</field><field name="VAR">char_key</field><field name="TYPE">char</field><value name="VALUE"><block type="text_char" id="NDF+WX@DHp,Db,`l@!(r"><field name="TEXT">a</field></block></value><next><block type="Arduino_keypad_4_4_start" id="yR8!(bNE*9aPavHQTTio"><field name="keypad_name">KEYPAD_4_4</field><value name="keypad_row"><block type="keypad_row_data" id="8xR_[n+!Fz~zt}4V]KW/"><value name="keypad_row_1"><shadow type="pins_digital" id="jQ$$$TA(OI[v8o8d_v2c"><field name="PIN">2</field></shadow></value><value name="keypad_row_2"><shadow type="pins_digital" id="5K`kpflH#lz{6p@@L(wA"><field name="PIN">3</field></shadow></value><value name="keypad_row_3"><shadow type="pins_digital" id=":Hibm!9;)xq=L}kNxf^A"><field name="PIN">4</field></shadow></value><value name="keypad_row_4"><shadow type="pins_digital" id="8{DU0t_%OA!$e4D}K19F"><field name="PIN">5</field></shadow></value></block></value><value name="keypad_col"><block type="keypad_col_data" id="bO?{3ft}lbv0jgRNi}oG"><value name="keypad_col_1"><shadow type="pins_digital" id="ad.J;#4{16m??xn.F)|."><field name="PIN">6</field></shadow></value><value name="keypad_col_2"><shadow type="pins_digital" id="$~YH?Q;8isS3{`Ia/xc)"><field name="PIN">7</field></shadow></value><value name="keypad_col_3"><shadow type="pins_digital" id="(]%PrK5{jM5QFcLA4d$="><field name="PIN">8</field></shadow></value><value name="keypad_col_4"><shadow type="pins_digital" id="D4#0=d+pp/At0/|P#oRc"><field name="PIN">9</field></shadow></value></block></value><value name="keypad_type"><block type="keypad_type_data" id="$j:OJo]O*;*4nAh.}c-d"><field name="keypad_1_1">1</field><field name="keypad_1_2">2</field><field name="keypad_1_3">3</field><field name="keypad_1_4">A</field><field name="keypad_2_1">4</field><field name="keypad_2_2">5</field><field name="keypad_2_3">6</field><field name="keypad_2_4">B</field><field name="keypad_3_1">7</field><field name="keypad_3_2">8</field><field name="keypad_3_3">9</field><field name="keypad_3_4">C</field><field name="keypad_4_1">*</field><field name="keypad_4_2">0</field><field name="keypad_4_3">#</field><field name="keypad_4_4">D</field></block></value></block></next></block></statement></block><block type="variables_set" id="*PGGuH$er@-e^t$,@@3j" x="0" y="317"><field name="VAR">char_key</field><value name="VALUE"><block type="get_keypad_num" id="gh[JFx]nY-K#K]KpkZ|h"><field name="keypad_name">KEYPAD_4_4</field></block></value><next><block type="controls_if" id="`W:hQ]$EEf`CXar=RLwM"><value name="IF0"><block type="variables_get" id="u-vkm],mPyZHm%_}bO=("><field name="VAR">char_key</field></block></value><statement name="DO0"><block type="serial_print" id=")ZO*wVcN@xtH7).?I6=b"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="variables_get" id="7227cyh+,[S3FAsoRzxw"><field name="VAR">char_key</field></block></value></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

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="serial_begin" id="x0Ee.qpxbW0iYm+0,hNy" x="-49" y="-80"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="CFyj}!3;O{;6?wkOq#xz"><field name="NUM">9600</field></shadow></value><next><block type="serial_println" id="372:HbP|ajAUcG%b[kyY"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id=":m){7W5%`{x74oU6F8YX"><mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation><value name="ADD0"><block type="text" id=",VgP38YO;YRpd]Q}X4]V"><field name="TEXT">温度:</field></block></value><value name="ADD1"><block type="BME280_READ" id=";GODUsTRpXDmbOrX3I"><field name="TYPE">bme</field><field name="BME_TYPE">readTemperature()</field><value name="address"><shadow type="math_number" id="x?s9rlgY~^Z$g{^5/j-M"><field name="NUM">0x77</field></shadow></value></block></value><value name="ADD2"><block type="text" id="P~^6CWy3Y^/m=IrZokFI"><field name="TEXT">℃</field></block></value></block></value><next><block type="controls_delay" id="|LM-4®#mX_UWTniNb2"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="+()MyFw`ZvvvKgNrXn{s"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="L7{oJKPl/Yn@Vam6|Sw." x="-30" y="-29"><statement name="DO"><block type="PS2_init" id="#MOvZ31uyg9d/*m/bMT2"><field name="PS2_DAT">2</field><field name="PS2_CMD">4</field><field name="PS2_SEL">5</field><field name="PS2_CLK">12</field><field name="rumble">true</field><next><block type="serial_begin" id="bCq1^E~UQmH0$7(*^T[M"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="^6i}qkXUY;E2;B*!V2Ov"><field name="NUM">9600</field></shadow></value></block></next></block></statement></block><block type="simple_timer" id="B=eN-fYEcAy_,_@@}|={" x="0" y="92"><field name="NO">1</field><value name="timein"><shadow type="math_number" id="Nk[_umsDOAs:G]#sP|aa"><field name="NUM">1000</field></shadow></value><statement name="zxhs"><block type="PS2_update" id=".b.wh~QEsOpfevOm)nJ:"><next><block type="serial_println" id="efU?W+~Vr{C#P2)CWncX"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join" id="HYb+yG;cQc{}xOFeat:N"><value name="A"><shadow type="text" id=",*{VDGRv[|cYH(aekbB/"><field name="TEXT">Left_X:</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="$Dna5x}n@r#9ISV;}@sQ"><field name="TEXT">Mixly</field></shadow><block type="PS2_stk" id="YE^`S^-8eMv#lYTt)_Q!"><field name="psstk">PSS_LX</field></block></value></block></value><next><block type="serial_println" id="5d4wvEQ3cszYMp$F~l@;"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join" id="wjH@d!-;uiT3||hz%v8J"><value name="A"><shadow type="text" id="`g{m5L0GXPbdNIa|1y]N"><field name="TEXT">Right_X:</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="$Dna5x}n@r#9ISV;}@sQ"><field name="TEXT">Mixly</field></shadow><block type="PS2_stk" id="$h-ln.h;V9Bkp-pAI^f)"><field name="psstk">PSS_RY</field></block></value></block></value></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id=":7}WfioZi?:yEQD$ZOI-" x="102" y="97"><field name="VALUE">声控舵机\n\nA0接声音传感器D2接舵机\n舵机转动角度随音量大小在0-180之间来回转</field><next><block type="servo_move" id="]Akc4svhV~9n75IRz}t@"><field name="PIN">2</field><value name="DEGREE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="?(PgFXBQ{Uk_8Fk(D/.P"><field name="NUM">0</field></shadow><block type="base_map" id="{RgO/~UOs,Wq--*W0zyY"><field name="maptype">map_int</field><value name="NUM"><block type="inout_analog_read" id="_k|xOL0_wGEr~MdRPZY."><value name="PIN"><shadow type="pins_analog" id="%_?*D#.r/68Zbgf#K2(c"><field name="PIN">A0</field></shadow></value></block></value><value name="fromLow"><shadow type="math_number" id="ti#9F*|/31y%cW?t{q3k"><field name="NUM">1</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="kg(O,W(w{0]SvC7qKi0R"><field name="NUM">500</field></shadow></value><value name="toLow"><shadow type="math_number" id="BhkhVF?`{A?R/!uVqwsf"><field name="NUM">0</field></shadow></value><value name="toHigh"><shadow type="math_number" id="CXoJT1%u03N(w~8P=VoX"><field name="NUM">180</field></shadow></value></block></value><value name="DELAY_TIME"><shadow type="math_number" id="d!DVoo%zipBM4d=~Fy!%"><field name="NUM">100</field></shadow></value></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="_oz*{?yq:)}+^S)!?bq6" x="-455" y="-121"><field name="VALUE">D8连接蜂鸣器D2连接按钮传感器\n当按钮被按下时蜂鸣器出现“叮咚”的声音</field><next><block type="controls_if" id="3`vT9%5^7H,S9itk).i#"><value name="IF0"><block type="inout_digital_read2" id="n2NNH?-d_9?v-WIV8/wX"><value name="PIN"><shadow type="pins_digital" id="OZhetW[.b`,Y?#R:^RXO"><field name="PIN">2</field></shadow></value></block></value><statement name="DO0"><block type="controls_tone" id="DRFCX+GM([=Jqs_G6-%{"><value name="PIN"><shadow type="pins_digital" id="i(b@UKA+:/^DW0RVJ1zT"><field name="PIN">8</field></shadow></value><value name="FREQUENCY"><shadow type="tone_notes" id="!eI/,xBXlNu)Z6vFWL]s"><field name="STAT">659</field></shadow></value><next><block type="base_delay" id="5wl4w7@+h*|Z-]Y+C*m["><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="n!;}FDy)~Z{mB.C+M5h*"><field name="NUM">500</field></shadow></value><next><block type="controls_tone" id="ntN_k,]FE!ThT#jGvz9#"><value name="PIN"><shadow type="pins_digital" id="@XfYJ;03::@7]gAm4cS!"><field name="PIN">8</field></shadow></value><value name="FREQUENCY"><shadow type="tone_notes" id="_T0Wl8XIf~9_7SgMieCI"><field name="STAT">532</field></shadow></value><next><block type="base_delay" id="mq=[QrQti;IXQa`oa{6f"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="tdn;2E*W|dhuB)B{B1T8"><field name="NUM">500</field></shadow></value><next><block type="controls_notone" id="`WBDU*BAkH,.=RGr_BFv"><value name="PIN"><shadow type="pins_digital" id="1hinP6eQXR7qpAAVN0Pv"><field name="PIN">8</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="@_vZSi+|O`lUHmLa-(nb" x="-3" y="-63"><field name="VALUE">蜂鸣器:D8,\n播放简谱123456</field></block><block type="base_setup" id="wwxPPYs):Dc}i%;HjK4V" x="0" y="0"><statement name="DO"><block type="lists_create_with_text2" id="1:QwZ60EGbX%ZmjR6je("><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></block></statement></block><block type="controls_for" id="5#T3-br*q7]KwlnT{gcU" x="0" y="92"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="@X}XTH:3,giTmh?mrAVL"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="}),.E1NS]C/ftCitG82p"><field name="NUM">7</field></shadow></value><value name="STEP"><shadow type="math_number" id="ji%L3,pG2:vQ+AwwA{Ai"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="controls_tone" id="xf[V;^WsA1f-5-!4Q@M:"><value name="PIN"><shadow type="pins_digital" id="FGXX@B/o^hezSl|qGF#+"><field name="PIN">8</field></shadow></value><value name="FREQUENCY"><shadow xmlns="http://www.w3.org/1999/xhtml" type="tone_notes" id="0gvgjrbASh_?;ClsVc9w"><field name="STAT">131</field></shadow><block type="lists_getIndex" id="T_)nxD~[:jAs!DOn57"><field name="VAR">tonelist</field><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="93m;T*@dHD/Gt^wPk7gt"><field name="NUM">1</field></shadow><block type="variables_get" id="(Hc(fb81-B.{;0pFQ^Rj"><field name="VAR">i</field></block></value></block></value><next><block type="base_delay" id="63[J:zWiOX%_:GdL[ZZe"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="slq60yg^!32.w:lz72j#"><field name="NUM">600</field></shadow></value><next><block type="controls_notone" id="1d(.7/H~oWm+q6,9Y+jM"><value name="PIN"><shadow type="pins_digital" id="(X5P35)7p!ti(THX/Y?A"><field name="PIN">8</field></shadow></value><next><block type="base_delay" id="drPu5[m{IV_ofNW~{T~H"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="0IJ).0U|r[LtIONMzu_."><field name="NUM">600</field></shadow></value></block></next></block></next></block></next></block></statement></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<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>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="4TX=5*bt0*hutw{6Z$~6" x="186" y="158"><field name="VALUE">D2接灯带</field><next><block type="display_rgb_init" id="FgY/L4~-)h[5c]R6(Nse"><field name="PIN">2</field><field name="TYPE">NEO_GRB</field><value name="LEDCOUNT"><shadow type="math_number" id="bW3e${N3qDjQATq{#rSs"><field name="NUM">10</field></shadow></value><next><block type="display_rgb_Brightness" id="qa%W{.bh4m+nxi5gzbXQ"><field name="PIN">2</field><value name="Brightness"><shadow type="math_number" id="KUPBjGPL5~1_v=3Jtie="><field name="NUM">20</field></shadow></value><next><block type="controls_for" id="!lZuV3T52@dw}+nWhk%H"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id=".V@bh0e?#/c0$p}COJ=^"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="7Ut,$%:e?VOpKd_}b~IA"><field name="NUM">10</field></shadow></value><value name="STEP"><shadow type="math_number" id="5q~9,x,W,j9~4UDN:$k{"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="display_rgb" id=")c@?fGKNYA$qjPB8S~vq"><field name="PIN">2</field><value name="_LED_"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="vqUoAnW,6Qh;y{E~}+$$"><field name="NUM">1</field></shadow><block type="variables_get" id="qnJrC(EzVv6ftJ,{znl3"><field name="VAR">i</field></block></value><value name="COLOR"><block type="RGB_color_seclet" id=":B@jgD31`[MV0%8,@Sz1"><field name="COLOR">#ff0000</field></block></value></block></statement><next><block type="display_rgb_show" id="ZxnR%5v0#FvkM=^Q[GCJ"><field name="PIN">2</field></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="R=%*GXh!~iC.,-r;iqC(" x="0" y="0"><field name="VALUE">简易MP3播放器\n模块使用软串口\n上一曲按键接在D2\n下一曲按键接在D3\n</field></block><block type="base_setup" id="d5T.@*]1AQ,ixdrzHVwC" x="0" y="145"><statement name="DO"><block type="serial_softserial" id="oHlD2nVKV[I*Se$BpDxs"><field name="serial_select">mySerial</field><value name="RX"><shadow type="pins_digital" id="en]vx#2iuT~D-S@00{La"><field name="PIN">7</field></shadow></value><value name="TX"><shadow type="pins_digital" id="74Q$g4@Oh;RCh[^W8TSL"><field name="PIN">8</field></shadow></value><next><block type="serial_begin" id="pD?ZiMd~VI3%WiQ^3if}"><field name="serial_select">mySerial</field><value name="CONTENT"><shadow type="math_number" id="k}AZT3qCD{i37C(O~6.U"><field name="NUM">9600</field></shadow></value><next><block type="arduino_dfplayer_mini_begin" id="zI!yDm8uS8J5t3*#19`R"><field name="dfplayer_name">myPlayer</field><value name="dfplayer_pin"><shadow type="arduino_dfplayer_mini_pin" id="H^Xh,=V]B0Xw6ffZo)8J"><field name="pin_type">mySerial</field></shadow></value><next><block type="arduino_dfplayer_mini_setTimeOut" id="4+FkMW8uJzD_mYNaY3IY"><field name="dfplayer_name">myPlayer</field><value name="timeout_data"><shadow type="math_number" id="#J!Kw]t:wr*J.0n[[o)Z"><field name="NUM">500</field></shadow></value><next><block type="arduino_dfplayer_mini_outputDevice" id="nIfDT3F*c@C^%#,h]A_v"><field name="dfplayer_name">myPlayer</field><value name="outputdevice_data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">2</field></shadow><block type="arduino_dfplayer_mini_outputDevice_type" id="Qi5/2SoWZp~#rFhGxB$,"><field name="outputdevice_type">DFPLAYER_DEVICE_SD</field></block></value><next><block type="arduino_dfplayer_mini_volume" id="bx-G|J$[oM^2?ljus18x"><field name="dfplayer_name">myPlayer</field><value name="volume_data"><shadow type="math_number" id="PnuKRi4}Yh0[kiUtXDnN"><field name="NUM">15</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="OneButton_interrupt" id="wAxyK5yw)4v`DP}H]14t" x="0" y="433"><field name="mode">attachClick</field><value name="PIN"><shadow type="pins_digital" id="EL7^MK??n|[wSxc6P$3h"><field name="PIN">2</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="GrK/7}7+]#eo`=`jjkJ8"><field name="BOOL">LOW</field></shadow></value><statement name="DO"><block type="arduino_dfplayer_set_1" id="@d|eL1MX/VYd2WvH|:z;"><field name="dfplayer_name">myPlayer</field><field name="set_data">previous</field></block></statement></block><block type="OneButton_interrupt" id="1B3glUup#MXy=vtJ*K/U" x="0" y="537"><field name="mode">attachClick</field><value name="PIN"><shadow type="pins_digital" id="uK+d#^6apAydK`C.d^H)"><field name="PIN">3</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="dD]I|=4#gL4/.A+5^A,."><field name="BOOL">LOW</field></shadow></value><statement name="DO"><block type="arduino_dfplayer_set_1" id="j@uEk{,_f4RDw,VT#=kb"><field name="dfplayer_name">myPlayer</field><field name="set_data">next</field></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="display_rgb_init" id="v4M1K1Np3N#c3paivG=A" x="-1173" y="-48"><field name="PIN">12</field><field name="TYPE">NEO_GRB</field><value name="LEDCOUNT"><shadow type="math_number" id="yG{j@7uv;nF~r)1j.jD]"><field name="NUM">12</field></shadow></value><next><block type="controls_for" id="xF{9d-Xpc/fR{5^LXT)4"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="|,G5LN*%~e6u!_A7?R4X"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="HxoSjeH?zqx{R-H?!GfG"><field name="NUM">32767</field></shadow></value><value name="STEP"><shadow type="math_number" id="!,D^=nmk=f,U8U[.V2~("><field name="NUM">64</field></shadow></value><statement name="DO"><block type="controls_for" id=".Z5-o|`akZ+SnL^7rw`S"><field name="VAR">j</field><value name="FROM"><shadow type="math_number" id="kME2%:-r*lk*MM`$_Tsp"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id=")dB43RM_Np9D2rQ;Xa;M"><field name="NUM">12</field></shadow></value><value name="STEP"><shadow type="math_number" id="2;yp*1bPdujiQ^tf%Y1N"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="RGB_color_HSV" id="rHB65Fy`^])Y|b8|O*Kn" inline="false"><field name="PIN">12</field><value name="_LED_"><shadow type="math_number" id="dpoYSl9_ugm0.%q.XqNB"><field name="NUM">j</field></shadow></value><value name="H"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="7;:QdT^-ZdY5FNqsCM4U"><field name="NUM"></field></shadow><block type="math_arithmetic" id="Td+2=$o%1G6sb:rg8?LT"><field name="OP">QUYU</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="3V]VgP%~2v?N2*WVu4$x"><field name="NUM">5461</field></shadow><block type="math_arithmetic" id="/2=tfAo?XAL_^((qM/4E"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#O4I$}/~}6D5g%D!(|ag"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="IAv0OJjF|lTFosh?V9lB"><field name="OP">ADD</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="3V]VgP%~2v?N2*WVu4$x"><field name="NUM">5461</field></shadow><block type="math_arithmetic" id="Q}PH_]/EAMG5B$%x2wj)"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id=":3l2*`B9Zi57[FH/l)do"><field name="NUM">5461</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="y57$.KxpnwVYZ/03VK;_"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="N!_jM6Dvt[rQ/1HdnGy{"><field name="OP">MINUS</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="IWj*9Y2(#kQ#GeeLzUy`"><field name="NUM">5461</field></shadow><block type="variables_get" id="-9rE,fAW{mEYsrmJlUn:"><field name="VAR">j</field></block></value><value name="B"><shadow type="math_number" id="L~=P~S|G,|95$YCj#mK3"><field name="NUM">1</field></shadow></value></block></value></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="y57$.KxpnwVYZ/03VK;_"><field name="NUM">1</field></shadow><block type="variables_get" id="#7U15dd4J09zQ;ieh^Y6"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow type="math_number" id="Cd-]p,b|mC[EWyY:DYXK"><field name="NUM">2</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="y57$.KxpnwVYZ/03VK;_"><field name="NUM">65536</field></shadow></value></block></value><value name="S"><shadow type="math_number" id="BB3@jXce8Fh4Fz/EfxKC"><field name="NUM">255</field></shadow></value><value name="V"><shadow type="math_number" id="!0Z#jVD6xpU6h+U;};F-"><field name="NUM">255</field></shadow></value></block></statement><next><block type="display_rgb_show" id="Zl~Oq6P:avJ$aG]VtoMF"><field name="PIN">12</field><next><block type="controls_delay" id="H$^#m.8z5ZjR$4Oaduco"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="m0O[dT}g#(VB:a,5EQ5]"><field name="NUM">2</field></shadow></value></block></next></block></next></block></statement></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="(VRNj~+1JEL8:Z=pwMw2" x="-29" y="-94"><statement name="DO"><block type="factory_notes" id="BjJv$bC)aTIp^J|VS~y?"><field name="VALUE">IIC接口连接TM1650数码管\n每隔一秒显示数增加1</field><next><block type="variables_declare" id="3N;S;1B$hp*(V%/|c]IM"><field name="variables_type">global_variate</field><field name="VAR">item</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="k{J9w3sqYNqHoR{v5G`B"><field name="NUM">0</field></block></value></block></next></block></statement></block><block type="simple_timer" id="pv_un2~qs*em}=w?(h7;" x="0" y="55"><field name="NO">1</field><value name="timein"><shadow type="math_number" id="|-lbg;@me$GNQ+vt}VgE"><field name="NUM">1000</field></shadow></value><statement name="zxhs"><block type="display_4digitdisplay_displayString" id="q,?Fh#_$cj[g(O(@wJ8O"><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="7)gCe^Bk6a9yTIn=@{[|"><field name="TEXT">abcd</field></shadow><block type="variables_get" id="feXPQigcH+KqsqM0=*]k"><field name="VAR">item</field></block></value><next><block type="variables_set" id="/by]nB!$VqmhH)H=Aaib"><field name="VAR">item</field><value name="VALUE"><block type="math_arithmetic" id="+h@z(8vxcU)AYgMN%:A%"><field name="OP">ADD</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Q[Fn:L5A3A%,U9W;zbU["><field name="NUM">1</field></shadow><block type="variables_get" id="=f8ext2y-:`?jYfhL@cU"><field name="VAR">item</field></block></value><value name="B"><shadow type="math_number" id="?KJ%bg}7)o9;OaMogIr["><field name="NUM">1</field></shadow></value></block></value></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="Gq=:fOZYs@v*(g{]ekG2" x="67" y="164"><field name="VALUE">SCL--SCL,SDA-SDA\nLCD1602的第1行显示hello,第二行显示mixly\n一秒之后\n第一行nihao,第二行显示misiqi</field><next><block type="group_lcd_init2" id="k/Mshf2)G,h3SeUQnz6p"><field name="TYPE">16,2</field><field name="VAR">mylcd</field><field name="SCL">A5</field><field name="SDA">A4</field><value name="device"><shadow type="math_number" id="n;,i%G]hCVxM6],Yi.#f"><field name="NUM">0x27</field></shadow></value><next><block type="group_lcd_print" id="0shl;y}4F16H/HEEoh,?"><field name="VAR">mylcd</field><value name="TEXT"><block type="text" id="u~LFK!Ta`//}hqh|=}p]"><field name="TEXT">hello</field></block></value><value name="TEXT2"><block type="text" id="=ny/XzN:(m7qoQ,?`l3|"><field name="TEXT">mixly</field></block></value><next><block type="base_delay" id="}%t++RI91F/Z@-s:,O.("><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="#;YyO{O(o_!0w6TFu@(E"><field name="NUM">1000</field></shadow></value><next><block type="group_lcd_power" id="gI]*W5|;Py#iNUL2q(O("><field name="VAR">mylcd</field><field name="STAT">clear</field><next><block type="group_lcd_print" id="S!2hM0uLyQANpeik|[{e"><field name="VAR">mylcd</field><value name="TEXT"><block type="text" id="jV%qcd=~9PRw5p8c4gb["><field name="TEXT">nihao</field></block></value><value name="TEXT2"><block type="text" id="Y:*2pA.8q^gO==4JcYXk"><field name="TEXT">misiqi</field></block></value><next><block type="base_delay" id="eznpl61+HKA~s@(~O,P7"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="qDSQT5ro}]}juxx2?,yr"><field name="NUM">1000</field></shadow></value><next><block type="group_lcd_power" id="X^Oy}p4r,2mtA@8bK*qk"><field name="VAR">mylcd</field><field name="STAT">clear</field></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="*DJ[iF9.DwD8IG:BC5*z" x="0" y="0"><field name="VALUE">OLED显示Mixly Logo</field><next><block type="oled_init" id="}CeZ2T*B^|0gZUe0==1p"><field name="OLED_TYPE">SSD1306_128X64_NONAME</field><field name="NAME">u8g2</field><field name="ROTATION">U8G2_R0</field><field name="SCL">A5</field><field name="SDA">A4</field><value name="ADDRESS"><shadow type="math_number" id="s%W:epiH}dZZa:=84jR]"><field name="NUM">0x3C</field></shadow></value><next><block type="oled_page" id="dv-_a~DZXk:3s3Do^kiZ"><field name="NAME">u8g2</field><statement name="DO"><block type="procedures_callnoreturn" id="rR5^Tr3+{9EDM4~t_Fh("><mutation xmlns="http://www.w3.org/1999/xhtml" name="page1"></mutation></block></statement><next><block type="oled_define_bitmap_data" id="D4|?(s0T7Y!^4@RbAo;="><field name="NAME">u8g2</field><field name="VAR">bitmap1</field><field name="TEXT">0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x80,0xFF,0x0F,0xE0,0x0F,0x00,0x00,0x00,0xF8,0xFF,0x0F,0xF0,0x1F,0x00,0x00,0x00, 0xF8,0xFF,0x0F,0xFC,0x1F,0x00,0x00,0x00,0xF0,0xFF,0x07,0xFE,0x1F,0x00,0x1E,0x00, 0x80,0xFF,0x07,0xFF,0x3F,0xC0,0x7F,0x00,0x00,0xFF,0x87,0xFF,0x3F,0xE0,0xFF,0x00, 0x00,0xFF,0xC7,0xFF,0x3F,0xF0,0xFF,0x01,0x00,0xFF,0xC7,0xFF,0x3F,0xF8,0xFF,0x03, 0x00,0xFF,0xE7,0xFF,0x3F,0xFC,0xFF,0x03,0x00,0xFF,0xE3,0xFF,0x3F,0xFE,0xFF,0x07, 0x00,0xFE,0xF3,0xFF,0x3F,0xFF,0xFF,0x07,0x00,0xFE,0xF3,0xFF,0x3F,0xFF,0xFF,0x07, 0x00,0xFE,0xFB,0xF8,0xBF,0x8F,0xFF,0x07,0x00,0xFE,0x7B,0xF0,0xDF,0x87,0xFF,0x07, 0x00,0xFE,0x3F,0xF0,0xFF,0x83,0xFF,0x07,0x00,0xFE,0x3F,0xF0,0xFF,0x81,0xFF,0x07, 0x00,0xFE,0x1F,0xF0,0xFF,0x80,0xFF,0x03,0x00,0xFE,0x1F,0xF0,0xFF,0x80,0xFF,0x03, 0x00,0xFE,0x0F,0xF0,0x7F,0x80,0xFF,0x03,0x00,0xFE,0x0F,0xF0,0x7F,0x80,0xFF,0x01, 0x00,0xFC,0x0F,0xE0,0x3F,0xC0,0xFF,0x01,0x00,0xFC,0x0F,0xF0,0x3F,0xC0,0xFF,0x00, 0x00,0xFC,0x07,0xF0,0x1F,0xC0,0xFF,0x00,0x00,0xFC,0x07,0xF0,0x1F,0xE0,0x7F,0x00, 0x00,0xFC,0x07,0xF0,0x1F,0xE0,0x3F,0x00,0x00,0xF8,0x0F,0xF0,0x0F,0xE0,0x1F,0x00, 0x00,0xF8,0x0F,0xF0,0x0F,0xF0,0x0F,0x00,0x00,0xF8,0x0F,0xF0,0x0F,0xF0,0x07,0x00, 0x80,0xFF,0x0F,0xF0,0x0F,0xF8,0x07,0x00,0x80,0xFF,0x0F,0xF0,0x0F,0xF8,0xFF,0x00, 0x80,0xFF,0x1F,0xF8,0x0F,0xFC,0xFF,0x01,0x80,0xFF,0x1F,0xF8,0x0F,0xFC,0xFF,0x01, 0x80,0x00,0x1E,0xF8,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0xFC,0x1F,0x00,0x00,0x00, 0x00,0x00,0x00,0xE0,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFE,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x3C,0x00,0x00,0x00,0x00,0x0C,0x00,0x00,0x7C,0x00,0x00,0x00,0x00,0x1C,0x00, 0x00,0xFC,0x00,0x00,0x00,0x00,0x1E,0x00,0x00,0xFC,0x03,0x00,0x00,0x00,0x1F,0x00, 0x00,0xF8,0x3F,0x00,0x00,0x80,0x0F,0x00,0x00,0xF8,0xFF,0x0F,0x00,0xF0,0x0F,0x00, 0x00,0xF0,0xFF,0xFF,0xFF,0xFF,0x0F,0x00,0x00,0xC0,0xFF,0xFF,0xFF,0xFF,0x0F,0x00, 0x00,0x80,0xFF,0xFF,0xFF,0xFF,0x07,0x00,0x00,0x00,0xFE,0xFF,0xFF,0xFF,0x03,0x00, 0x00,0x00,0xF0,0xFF,0xFF,0xFF,0x01,0x00,0x00,0x00,0x80,0xFF,0xFF,0xFF,0x00,0x00, 0x00,0x00,0x00,0xFC,0xFF,0x7F,0x00,0x00,0x00,0x00,0x00,0x80,0xFF,0x0F,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,</field></block></next></block></next></block></next></block><block type="procedures_defnoreturn" id="]v-a5j)HPkt=69+*SlAR" x="6" y="216"><field name="NAME">page1</field><statement name="STACK"><block type="oled_showBitmap" id="|[3-Y:B]fWs[|`%qB3KU"><field name="NAME">u8g2</field><value name="START_X"><shadow type="math_number" id="4F8+COy~HEhc3trkMwkE"><field name="NUM">32</field></shadow></value><value name="START_Y"><shadow type="math_number" id="cI%^eWVB44)+E!.qxdq("><field name="NUM">0</field></shadow></value><value name="WIDTH"><shadow type="math_number" id="7V:^G:,=K!eN`s^/r#Ua"><field name="NUM">64</field></shadow></value><value name="HEIGHT"><shadow type="math_number" id="^eOw1gkuA]D*3)r{|Tk:"><field name="NUM">64</field></shadow></value><value name="bitmap_name"><block type="text" id="OAZR}rtt^Oe(r$u%`O^Y"><field name="TEXT">bitmap1</field></block></value></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="U;WH{*vsV[dp*Zot+N?J" x="0" y="0"><field name="VALUE">OLED上显示奥运五环图案</field><next><block type="oled_init" id="%~p(jO?QcuYGUV,#Obhs"><field name="OLED_TYPE">SSD1306_128X64_NONAME</field><field name="NAME">u8g2</field><field name="ROTATION">U8G2_R0</field><field name="SCL">A5</field><field name="SDA">A4</field><value name="ADDRESS"><shadow type="math_number" id="uWLJe]j#C=arbv}HuANZ"><field name="NUM">0x3C</field></shadow></value><next><block type="oled_page" id="A!}i@]kP:7[a]_8w7R$E"><field name="NAME">u8g2</field><statement name="DO"><block type="procedures_callnoreturn" id="[@ycisQn:1S_UfHm4J)x"><mutation xmlns="http://www.w3.org/1999/xhtml" name="page1"></mutation></block></statement></block></next></block></next></block><block type="procedures_defnoreturn" id="oc{=6ljdjJHgCZ[Eg5t?" x="0" y="184"><field name="NAME">page1</field><statement name="STACK"><block type="oled_drawFrame" id="0eK~#/;-IIq!|w2|T;ab"><field name="NAME">u8g2</field><field name="TYPE">drawFrame</field><value name="D0_X"><shadow type="math_number" id="*AwNI7JKiyUjyrS#cmet"><field name="NUM">1</field></shadow></value><value name="D0_Y"><shadow type="math_number" id="%LT/EQ@l?;ap*2/PsDL^"><field name="NUM">1</field></shadow></value><value name="WIDTH"><shadow type="math_number" id="[)^/g@n,A|uLf=aKyO[T"><field name="NUM">124</field></shadow></value><value name="HEIGHT"><shadow type="math_number" id="Y~GmI3^tbc$?K~Y_jkrc"><field name="NUM">62</field></shadow></value><next><block type="oled_drawCircle" id="(K=vdA,2IVjs@8{_]+}_"><field name="NAME">u8g2</field><field name="TYPE">drawCircle</field><field name="OPT">U8G2_DRAW_ALL</field><value name="D0_X"><shadow type="math_number" id="`drJtzx;5r,sFft3qz(1"><field name="NUM">64</field></shadow></value><value name="D0_Y"><shadow type="math_number" id="^#-qO8?@W|WIG/)}$_"><field name="NUM">32</field></shadow></value><value name="RADIUS"><shadow type="math_number" id="E$O*`]09ZL@Gdj2/Lf8N"><field name="NUM">10</field></shadow></value><next><block type="oled_drawCircle" id="ZtGct1)STH{IfGuT#FMS"><field name="NAME">u8g2</field><field name="TYPE">drawCircle</field><field name="OPT">U8G2_DRAW_ALL</field><value name="D0_X"><shadow type="math_number" id="`3,LOJ9:!}!Vi@9]?]GW"><field name="NUM">38</field></shadow></value><value name="D0_Y"><shadow type="math_number" id="?;f8.a26Fz56G#Z%/*@M"><field name="NUM">32</field></shadow></value><value name="RADIUS"><shadow type="math_number" id="54syI_+}nA=pAX/VgF(?"><field name="NUM">10</field></shadow></value><next><block type="oled_drawCircle" id="1#iT[x7YLNUYTP9CEcm$"><field name="NAME">u8g2</field><field name="TYPE">drawCircle</field><field name="OPT">U8G2_DRAW_ALL</field><value name="D0_X"><shadow type="math_number" id="P;/tpenBvX1DcH*;.nh3"><field name="NUM">90</field></shadow></value><value name="D0_Y"><shadow type="math_number" id="h1D0Ja$x=uS%pn%d.j4v"><field name="NUM">32</field></shadow></value><value name="RADIUS"><shadow type="math_number" id="PO*iodEv6k/e)o^J~uoG"><field name="NUM">10</field></shadow></value><next><block type="oled_drawCircle" id="V}Vp{f=ns.o3uyQ7:N$I"><field name="NAME">u8g2</field><field name="TYPE">drawCircle</field><field name="OPT">U8G2_DRAW_ALL</field><value name="D0_X"><shadow type="math_number" id="cvY2UK7^b:;Qyb;Me_S,"><field name="NUM">51</field></shadow></value><value name="D0_Y"><shadow type="math_number" id="4+W[HB2iM0@@iD^};zBl"><field name="NUM">42</field></shadow></value><value name="RADIUS"><shadow type="math_number" id="pF]0EKEUP?zQJZbOuS=["><field name="NUM">10</field></shadow></value><next><block type="oled_drawCircle" id="/#MS;T`+uEb=EOuE5Se2"><field name="NAME">u8g2</field><field name="TYPE">drawCircle</field><field name="OPT">U8G2_DRAW_ALL</field><value name="D0_X"><shadow type="math_number" id="l]A3AlA@[vMRhJ+.Pú"><field name="NUM">77</field></shadow></value><value name="D0_Y"><shadow type="math_number" id="bLC]$f;Wzz%1m#y-pzvu"><field name="NUM">42</field></shadow></value><value name="RADIUS"><shadow type="math_number" id="Sav{b=em!!zHlSQ7pS_F"><field name="NUM">10</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="($n|wp*LkB#l,uQJl:l9" x="0" y="0"><field name="VALUE">OLED上第一行显示1234\nOLED上第二行显示hello,Mixly!</field><next><block type="oled_init" id="y8Xs*DJ~+P/L$CNmzv(O"><field name="OLED_TYPE">SSD1306_128X64_NONAME</field><field name="NAME">u8g2</field><field name="ROTATION">U8G2_R0</field><field name="SCL">A5</field><field name="SDA">A4</field><value name="ADDRESS"><shadow type="math_number" id="X;wS+))2bVvbL{{=!,C!"><field name="NUM">0x3C</field></shadow></value><next><block type="oled_page" id="(tXS+c-wllOR!q8v|:)s"><field name="NAME">u8g2</field><statement name="DO"><block type="procedures_callnoreturn" id="h$`,O98^sW~{XPnk@8.k"><mutation xmlns="http://www.w3.org/1999/xhtml" name="page1"></mutation></block></statement></block></next></block></next></block><block type="procedures_defnoreturn" id=".7EC#5nJ=wl-K)FX-8sz" x="0" y="203"><field name="NAME">page1</field><statement name="STACK"><block type="oled_set_EN_Font" id="J9VgcHZk4L$Veebm$IN*"><field name="NAME">u8g2</field><field name="FONT_NAME">tim</field><field name="FONT_SIZE">08</field><field name="FONT_STYLE">R</field><next><block type="oled_print" id="%1*S?ZB;iZZC+O6EOKie"><field name="NAME">u8g2</field><value name="POS_X"><shadow type="math_number" id="v_(^#)2S8U8rp-BxNds|"><field name="NUM">0</field></shadow></value><value name="POS_Y"><shadow type="math_number" id="*Fw?:It(2{u7xoPD/y0~"><field name="NUM">0</field></shadow></value><value name="TEXT"><shadow type="text" id="zXqefHg7(Rk/.rqNm::J"><field name="TEXT">1234</field></shadow></value><next><block type="oled_set_EN_Font" id="M-GcJxwdNr?qvi/Z#$#o"><field name="NAME">u8g2</field><field name="FONT_NAME">tim</field><field name="FONT_SIZE">14</field><field name="FONT_STYLE">R</field><next><block type="oled_print" id="5n#(t8Oe$mAn?SUy6BSY"><field name="NAME">u8g2</field><value name="POS_X"><shadow type="math_number" id="4C{j)]rEcGA_Erh3Z+kL"><field name="NUM">0</field></shadow></value><value name="POS_Y"><shadow type="math_number" id="oq92p80IvMsHK1=Y|6D$"><field name="NUM">20</field></shadow></value><value name="TEXT"><shadow type="text" id="eM5u-L;p.i/4{OHJnCMK"><field name="TEXT">hello,Mixly!</field></shadow></value></block></next></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="oled_init" id="g_DpG*IHd7+w#kwOsc2J" x="11" y="-46"><field name="OLED_TYPE">SSD1306_128X64_NONAME</field><field name="NAME">u8g2</field><field name="ROTATION">U8G2_R0</field><field name="SCL">A5</field><field name="SDA">A4</field><value name="ADDRESS"><shadow type="math_number" id="zUPK$u*F6iB}T~hh6{(q"><field name="NUM">0x3C</field></shadow></value><next><block type="oled_page" id="w1`#Rvo^pK!T_K2,;e?p"><field name="NAME">u8g2</field><statement name="DO"><block type="procedures_callnoreturn" id="BH.lF+Mq)jHFH7l~l,FS"><mutation xmlns="http://www.w3.org/1999/xhtml" name="page1"></mutation></block></statement></block></next></block><block type="procedures_defnoreturn" id="x+6pir8d-)gIU@m[.gkN" x="0" y="119"><field name="NAME">page1</field><statement name="STACK"><block type="oled_showBitmap" id="}O}aNA2awtcYQ?n^/`8^"><field name="NAME">u8g2</field><value name="START_X"><shadow type="math_number" id="3u;P-.y*7?4sj=*tM:e|"><field name="NUM">0</field></shadow></value><value name="START_Y"><shadow type="math_number" id="_;rd}y}{)wSiC@TEm@)+"><field name="NUM">0</field></shadow></value><value name="WIDTH"><shadow type="math_number" id="$;1s`5EGS7RRbJ#kR0DJ"><field name="NUM">48</field></shadow></value><value name="HEIGHT"><shadow type="math_number" id="JSpG9$5SK0ev_N_HZt/c"><field name="NUM">16</field></shadow></value><value name="bitmap_name"><block type="text" id=":$|wE}$?W2n|f40WiH=j"><field name="TEXT">MISIQI</field></block></value></block></statement></block><block type="tool_modulus_show" id="(.5$d]8Jk]n7}=,AXs@n" x="0" y="222"><field name="VAR">MISIQI</field><field name="x">96</field><field name="save_hz">TRUE</field><value name="input_data"><block type="tool_modulus" id="k2DKf+l}7^ED.Yr$}vlA"><field name="bitmap_formats">1</field><field name="modulus_way">2</field><field name="modulus_direction">2</field><field name="hz_sharp">STHeiti</field><field name="hz_line_height">16</field><field name="bitmap_width">48</field><field name="bitmap_height">16</field><field name="input_data">米思齐</field></block></value></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="JYBwo;Hfy[wgj38H~^6Q" x="0" y="0"><field name="VALUE">OLED显示汉字\n米思齐</field><next><block type="oled_init" id="G((T)5z!8;M+$K)s|f[Y"><field name="OLED_TYPE">SSD1306_128X64_NONAME</field><field name="NAME">u8g2</field><field name="ROTATION">U8G2_R0</field><field name="SCL">A5</field><field name="SDA">A4</field><value name="ADDRESS"><shadow type="math_number" id="Jof8gydq[@8x}j(6bZXT"><field name="NUM">0x3C</field></shadow></value><next><block type="oled_define_bitmap_data" id="}iJe;UwGyQHuDe^v=lSA"><field name="NAME">u8g2</field><field name="VAR">mi</field><field name="TEXT"> 0x80,0x00,0x84,0x10,0x88,0x10,0x90,0x08,0x90,0x04,0x80,0x00,0xFE,0x3F,0xC0,0x01, 0xA0,0x02,0xA0,0x02,0x90,0x04,0x88,0x08,0x84,0x10,0x83,0x60,0x80,0x00,0x80,0x00,/*\"米\",0*/</field><next><block type="oled_define_bitmap_data" id="7}[fZP3lOI5msiX:pdeU"><field name="NAME">u8g2</field><field name="VAR">si</field><field name="TEXT">0x00,0x00,0xFC,0x1F,0x84,0x10,0x84,0x10,0xFC,0x1F,0x84,0x10,0x84,0x10,0xFC,0x1F, 0x04,0x10,0x80,0x00,0x10,0x11,0x12,0x21,0x12,0x48,0x12,0x48,0xE1,0x0F,0x00,0x00,/*\"思\",0*/</field><next><block type="oled_define_bitmap_data" id="Zwdu$0GFN;aM+`Sx;p./"><field name="NAME">u8g2</field><field name="VAR">qi</field><field name="TEXT">0x40,0x00,0x80,0x00,0xFE,0x3F,0x10,0x04,0x20,0x02,0xC0,0x01,0x30,0x06,0x0C,0x18, 0x13,0x64,0x10,0x04,0x10,0x04,0x10,0x04,0x10,0x04,0x08,0x04,0x08,0x04,0x04,0x04,/*\"齐\",0*/</field><next><block type="oled_page" id="{ade9HYcp|p(JXDG(Rj7"><field name="NAME">u8g2</field><statement name="DO"><block type="procedures_callnoreturn" id="ZiAc/{.BBiyaNVL5)Zw4"><mutation xmlns="http://www.w3.org/1999/xhtml" name="page1"></mutation></block></statement></block></next></block></next></block></next></block></next></block></next></block><block type="procedures_defnoreturn" id=";:^C87#~kxpXL^)v_R}[" x="0" y="253"><field name="NAME">page1</field><statement name="STACK"><block type="oled_showBitmap" id="^41Vb[Z]S%DUK%ltkxfl"><field name="NAME">u8g2</field><value name="START_X"><shadow type="math_number" id="I.(3al2a_A^8y4R$}(Dm"><field name="NUM">0</field></shadow></value><value name="START_Y"><shadow type="math_number" id="z~1M,Eg:E9R8,b[9Q4oO"><field name="NUM">0</field></shadow></value><value name="WIDTH"><shadow type="math_number" id="PJl_`3%@MZWdjQH0c2jy"><field name="NUM">16</field></shadow></value><value name="HEIGHT"><shadow type="math_number" id="8#{SALLS-m7f:r*D4na."><field name="NUM">16</field></shadow></value><value name="bitmap_name"><block type="text" id="W$f|aci]wY3AAtMe2h*?"><field name="TEXT">mi</field></block></value><next><block type="oled_showBitmap" id="G^Ajh1J)%SQHMa:hbeoI"><field name="NAME">u8g2</field><value name="START_X"><shadow type="math_number" id="-_41m4gD,E/xJi:=Ja;b"><field name="NUM">16</field></shadow></value><value name="START_Y"><shadow type="math_number" id="-@Hw*nNRgU?(wT*H24PR"><field name="NUM">0</field></shadow></value><value name="WIDTH"><shadow type="math_number" id="LTR2lKk{@)WoK7gRR7)`"><field name="NUM">16</field></shadow></value><value name="HEIGHT"><shadow type="math_number" id=".rvn@:g=(WGNP]JY_^H["><field name="NUM">16</field></shadow></value><value name="bitmap_name"><block type="text" id="jIqB!u1/5cDEAziWW3J+"><field name="TEXT">si</field></block></value><next><block type="oled_showBitmap" id="~igUC+9:8bEaMgk?zAK."><field name="NAME">u8g2</field><value name="START_X"><shadow type="math_number" id="7bTgnhGg,!KCh#KV_vf-"><field name="NUM">32</field></shadow></value><value name="START_Y"><shadow type="math_number" id="}JJ6d6tOF(mCnx9+6@$/"><field name="NUM">0</field></shadow></value><value name="WIDTH"><shadow type="math_number" id="f,E!;C6^p$(yk,_;)m$~"><field name="NUM">16</field></shadow></value><value name="HEIGHT"><shadow type="math_number" id="^H~8`.$-2yD/:dU~N7rR"><field name="NUM">16</field></shadow></value><value name="bitmap_name"><block type="text" id="Z5$(R3l[_|=6Narty^T]"><field name="TEXT">qi</field></block></value></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="oled_init" id="]eR]Fe`K~Cv/9d*bRQMW" x="1" y="-16"><field name="OLED_TYPE">SSD1306_128X64_NONAME</field><field name="NAME">u8g2</field><field name="ROTATION">U8G2_R0</field><field name="SCL">A5</field><field name="SDA">A4</field><value name="ADDRESS"><shadow type="math_number" id="|u[EtY6?,tEXp?/e[uoD"><field name="NUM">0x3C</field></shadow></value><next><block type="oled_page" id="mD/hSpa,_oTf!W*RMo[K"><field name="NAME">u8g2</field><statement name="DO"><block type="procedures_callnoreturn" id="Z;X$3Eu:a}V7Q}q]9._*"><mutation xmlns="http://www.w3.org/1999/xhtml" name="page1"></mutation></block></statement></block></next></block><block type="procedures_defnoreturn" id="f7D2+If_wyLC:;R)WENe" x="0" y="119"><field name="NAME">page1</field><statement name="STACK"><block type="oled_icons" id="9QOq~V;x}C(,NStbI1i5"><field name="NAME">u8g2</field><field name="ICON_SIZE">1</field><field name="ICON_IMAGE">64</field><value name="POS_X"><shadow type="math_number" id="#M!Mh!IImw]QS9I/)#,8"><field name="NUM">0</field></shadow></value><value name="POS_Y"><shadow type="math_number" id="jw(-6s_:K$n;g6`hWUge"><field name="NUM">0</field></shadow></value><next><block type="oled_icons" id="12Y3E3@uo/ICni_@wZGh"><field name="NAME">u8g2</field><field name="ICON_SIZE">2</field><field name="ICON_IMAGE">64</field><value name="POS_X"><shadow type="math_number" id="S%v0RDthi63ig@jDkyx;"><field name="NUM">10</field></shadow></value><value name="POS_Y"><shadow type="math_number" id="O(^ZlTTtjox.x[/W=DiS"><field name="NUM">0</field></shadow></value><next><block type="oled_icons" id="#fx!|A;%v?A%DHxDK)~$"><field name="NAME">u8g2</field><field name="ICON_SIZE">4</field><field name="ICON_IMAGE">64</field><value name="POS_X"><shadow type="math_number" id="a$f]D3DgE*|n!Ei2/N!$"><field name="NUM">28</field></shadow></value><value name="POS_Y"><shadow type="math_number" id="UdBlDmN8U/i,DFXtDM#A"><field name="NUM">0</field></shadow></value></block></next></block></next></block></statement></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="qFI- *kj4SiMz;{7)`" x="0" y="0"><statement name="DO"><block type="tool_modulus_show" id=";|m5--A(:?PO*iQHJ9f="><field name="VAR">bitmap</field><field name="x">96</field><field name="save_hz">TRUE</field><value name="input_data"><block type="tool_modulus" id="^CI!g0?,X@Ns49i0U8[L"><field name="bitmap_formats">1</field><field name="modulus_way">2</field><field name="modulus_direction">2</field><field name="hz_sharp">STHeiti</field><field name="hz_line_height">16</field><field name="bitmap_width">48</field><field name="bitmap_height">16</field><field name="input_data">米思齐</field></block></value><next><block type="u8g2_spi_init" id=",@].aPhK=6?!1i$mwQ3f"><field name="U8G2_TYPE_SPI">PCD8544_84X48</field><field name="NAME">u8g2</field><field name="ROTATION">U8G2_R0</field><field name="CLK">13</field><field name="MOSI">11</field><field name="CS">10</field><field name="DC">9</field><field name="RST">8</field><next><block type="u8g2_setContrast" id="._4}5g!0E4NU1U|^%@t~"><field name="NAME">u8g2</field><value name="Contrast"><shadow type="math_number" id=")#+GCZk|.%`#5cb53iNw"><field name="NUM">100</field></shadow></value></block></next></block></next></block></statement></block><block type="oled_page" id="YcC1-]^TMfKf]09mN`2+" x="0" y="266"><field name="NAME">u8g2</field><statement name="DO"><block type="procedures_callnoreturn" id="uZ050McH9]=CA~u+h^}4"><mutation xmlns="http://www.w3.org/1999/xhtml" name="page1"></mutation></block></statement></block><block type="procedures_defnoreturn" id="rAnwFi8[,F]#t7!Z9Lol" x="0" y="359"><field name="NAME">page1</field><statement name="STACK"><block type="oled_set_EN_Font" id="I558+x97t|4=)d9)Lsc/"><field name="NAME">u8g2</field><field name="FONT_NAME">tim</field><field name="FONT_SIZE">08</field><field name="FONT_STYLE">R</field><next><block type="oled_print" id="bZx`@3,aDG[od;XUgeKq"><field name="NAME">u8g2</field><value name="POS_X"><shadow type="math_number" id="N2zAOsn7h:T37}PvZRM~"><field name="NUM">26</field></shadow></value><value name="POS_Y"><shadow type="math_number" id=")s/d#7vE(TwlHZa9MaP0"><field name="NUM">10</field></shadow></value><value name="TEXT"><shadow type="text" id="051[e)E%L*KOKTsiw~n3"><field name="TEXT">MIXLY</field></shadow></value><next><block type="oled_showBitmap" id="(OHTRh${g,!0IJvvwDJL"><field name="NAME">u8g2</field><value name="START_X"><shadow type="math_number" id=".N6Y1ŠGvw76@Py[N7k"><field name="NUM">18</field></shadow></value><value name="START_Y"><shadow type="math_number" id="0J^z5zkpc]2)Xb!fP4nS"><field name="NUM">20</field></shadow></value><value name="WIDTH"><shadow type="math_number" id="v#it3G!8^v]*K.sykOO{"><field name="NUM">48</field></shadow></value><value name="HEIGHT"><shadow type="math_number" id="iN%1~TJ/2ktP@xn1t1r~"><field name="NUM">16</field></shadow></value><value name="bitmap_name"><block type="text" id="!OV0S}mO=/csY0k#m#|1"><field name="TEXT">bitmap</field></block></value></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="tool_modulus_show" id=";|m5--A(:?PO*iQHJ9f=" x="0" y="0"><field name="VAR">bitmap</field><field name="x">96</field><field name="save_hz">TRUE</field><value name="input_data"><block type="tool_modulus" id="^CI!g0?,X@Ns49i0U8[L"><field name="bitmap_formats">1</field><field name="modulus_way">2</field><field name="modulus_direction">2</field><field name="hz_sharp">STHeiti</field><field name="hz_line_height">16</field><field name="bitmap_width">48</field><field name="bitmap_height">16</field><field name="input_data">米思齐</field></block></value><next><block type="u8g2_LCD12864_8080_init" id="nUh6?R;,oBoiO(w1}#[i"><field name="NAME">u8g2</field><field name="ROTATION">U8G2_R0</field><field name="DB0">9</field><field name="DB1">8</field><field name="DB2">7</field><field name="DB3">6</field><field name="DB4">5</field><field name="DB5">4</field><field name="DB6">3</field><field name="DB7">2</field><field name="ENABLE">11</field><field name="DC">10</field><next><block type="oled_page" id="~i-*]Ldw6^mRaVPP;;je"><field name="NAME">u8g2</field><statement name="DO"><block type="procedures_callnoreturn" id="A}vlw{!#VD99V6RcAJU)"><mutation xmlns="http://www.w3.org/1999/xhtml" name="page1"></mutation></block></statement></block></next></block></next></block><block type="procedures_defnoreturn" id="rAnwFi8[,F]#t7!Z9Lol" x="0" y="343"><field name="NAME">page1</field><statement name="STACK"><block type="oled_set_EN_Font" id="I558+x97t|4=)d9)Lsc/"><field name="NAME">u8g2</field><field name="FONT_NAME">tim</field><field name="FONT_SIZE">08</field><field name="FONT_STYLE">R</field><next><block type="oled_print" id="bZx`@3,aDG[od;XUgeKq"><field name="NAME">u8g2</field><value name="POS_X"><shadow type="math_number" id="N2zAOsn7h:T37}PvZRM~"><field name="NUM">40</field></shadow></value><value name="POS_Y"><shadow type="math_number" id=")s/d#7vE(TwlHZa9MaP0"><field name="NUM">20</field></shadow></value><value name="TEXT"><shadow type="text" id="051[e)E%L*KOKTsiw~n3"><field name="TEXT">MIXLY</field></shadow></value><next><block type="oled_showBitmap" id="(OHTRh${g,!0IJvvwDJL"><field name="NAME">u8g2</field><value name="START_X"><shadow type="math_number" id=".N6Y1ŠGvw76@Py[N7k"><field name="NUM">32</field></shadow></value><value name="START_Y"><shadow type="math_number" id="0J^z5zkpc]2)Xb!fP4nS"><field name="NUM">30</field></shadow></value><value name="WIDTH"><shadow type="math_number" id="v#it3G!8^v]*K.sykOO{"><field name="NUM">48</field></shadow></value><value name="HEIGHT"><shadow type="math_number" id="iN%1~TJ/2ktP@xn1t1r~"><field name="NUM">16</field></shadow></value><value name="bitmap_name"><block type="text" id="!OV0S}mO=/csY0k#m#|1"><field name="TEXT">bitmap</field></block></value></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="tool_modulus_show" id=";|m5--A(:?PO*iQHJ9f=" x="0" y="0"><field name="VAR">bitmap</field><field name="x">96</field><field name="save_hz">TRUE</field><value name="input_data"><block type="tool_modulus" id="^CI!g0?,X@Ns49i0U8[L"><field name="bitmap_formats">1</field><field name="modulus_way">2</field><field name="modulus_direction">2</field><field name="hz_sharp">STHeiti</field><field name="hz_line_height">16</field><field name="bitmap_width">48</field><field name="bitmap_height">16</field><field name="input_data">米思齐</field></block></value><next><block type="u8g2_LCD12864_spi_init" id="IOd8D4!qmm,Oa+p?OR~T"><field name="NAME">u8g2</field><field name="ROTATION">U8G2_R0</field><field name="DC">10</field><value name="CLK"><shadow type="pins_SCK" id="rjO/2P/zOM.1)n:0i*?("><field name="PIN">13</field></shadow></value><value name="MOSI"><shadow type="pins_MOSI" id="n2V{J4h/_oh}FC)S!d_~"><field name="PIN">11</field></shadow></value><next><block type="oled_page" id="YcC1-]^TMfKf]09mN`2+"><field name="NAME">u8g2</field><statement name="DO"><block type="procedures_callnoreturn" id="uZ050McH9]=CA~u+h^}4"><mutation xmlns="http://www.w3.org/1999/xhtml" name="page1"></mutation></block></statement></block></next></block></next></block><block type="procedures_defnoreturn" id="rAnwFi8[,F]#t7!Z9Lol" x="-10" y="302"><field name="NAME">page1</field><statement name="STACK"><block type="oled_set_EN_Font" id="I558+x97t|4=)d9)Lsc/"><field name="NAME">u8g2</field><field name="FONT_NAME">tim</field><field name="FONT_SIZE">08</field><field name="FONT_STYLE">R</field><next><block type="oled_print" id="bZx`@3,aDG[od;XUgeKq"><field name="NAME">u8g2</field><value name="POS_X"><shadow type="math_number" id="N2zAOsn7h:T37}PvZRM~"><field name="NUM">40</field></shadow></value><value name="POS_Y"><shadow type="math_number" id=")s/d#7vE(TwlHZa9MaP0"><field name="NUM">20</field></shadow></value><value name="TEXT"><shadow type="text" id="051[e)E%L*KOKTsiw~n3"><field name="TEXT">MIXLY</field></shadow></value><next><block type="oled_showBitmap" id="(OHTRh${g,!0IJvvwDJL"><field name="NAME">u8g2</field><value name="START_X"><shadow type="math_number" id=".N6Y1ŠGvw76@Py[N7k"><field name="NUM">32</field></shadow></value><value name="START_Y"><shadow type="math_number" id="0J^z5zkpc]2)Xb!fP4nS"><field name="NUM">30</field></shadow></value><value name="WIDTH"><shadow type="math_number" id="v#it3G!8^v]*K.sykOO{"><field name="NUM">48</field></shadow></value><value name="HEIGHT"><shadow type="math_number" id="iN%1~TJ/2ktP@xn1t1r~"><field name="NUM">16</field></shadow></value><value name="bitmap_name"><block type="text" id="!OV0S}mO=/csY0k#m#|1"><field name="TEXT">bitmap</field></block></value></block></next></block></next></block></statement></block></xml>

Some files were not shown because too many files have changed in this diff Show More