-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
19 lines (19 loc) · 30.6 KB
/
main.blocks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="R9VeE4Ch$HeXTB{:vcyL">myImage</variable><variable id="V(wx:Z6PlQf)~XSkS/[$">Heading</variable><variable id="7tm55|_=E@84]u!5[IIi">Step</variable><variable id="Rk*qn#%FE`=VX[UjE}N%">strip</variable></variables><block type="onButtonDoubleClicked" id="U8.v]1?aDc^PoVeMenG(" x="-473" y="-1983"><field name="NAME">buttonClicks.AorB.A</field><statement name="HANDLER"><block type="music_playable_play" id="^)ouC)xEXBeWt08-2szx"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="qV~Kj^{2:r7+d]24BBCC"><value name="melody"><shadow type="melody_editor" id="y7ok}WxXeq`(s,YzATLF"><field name="melody">"C D E F G A B C5 "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id=")?6_PqUsWLmnhl~PB(R9"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="music_playable_play" id="@@Niq[:iDe2rwiJJTw9U"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="`{N.0w_n,8y*1M^,Sc?W"><value name="melody"><shadow type="melody_editor" id="ldw^0PV4V@=hgyt?ozFj"><field name="melody">"C5 B A G F E D C "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="kmjnQg6Q]r-Qxwo$4QS4"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="music_playable_play" id="JYO_`51rut#{B9r(x@l#"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="37@Ar[]RcG`+%!VOJsEr"><value name="melody"><shadow type="melody_editor" id=".b*3.:kg?U5##+L+wf7-"><field name="melody">"C5 - A - F - D - "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="lFC^ZCT,n,ivnb`8P;7I"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="music_playable_play" id="U{ghgct3{)xlddzBP/SJ"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="z0XjrgkEj+N-Jv40/0Uh"><value name="melody"><shadow type="melody_editor" id="P(KJ|]$y}Cv6ri5,2i?a"><field name="melody">"C D E F G A B C5 "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="U`[V,(MeR6fDa7#biJ_A"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="music_playable_play" id="C{@dA4$:A}qPEUR)%yDE"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="9}u-P}Newzm]Ir_z$mPK"><value name="melody"><shadow type="melody_editor" id="4,ib!2Y|YYj:lssBC9}1"><field name="melody">"C5 B A G F E D C "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="WVxM!Eq:%?QKfJGXg)6+"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="music_playable_play" id="zCS4AVHh{I{}S(c?InVu"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="8Q2B%=h93X1*rGj(sP{N"><value name="melody"><shadow type="melody_editor" id="U9^ovxOQDt,v)dt%p1*d"><field name="melody">"C5 - A - F - D - "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="uNl=Z^~=={JCfSE9wr^E"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="music_playable_play" id="=w9:juEj@H5EU^#|ne@X"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="9HJ$z;hHs;4^;!aV,@|;"><value name="melody"><shadow type="melody_editor" id="5p%6y$1K}d;0#.f]L2?6"><field name="melody">"C D E F E D C - "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="1yNS.jv2a7Z,s(]p#]:s"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="music_playable_play" id="mcoaz=bvOw}Xe75`mQ-Y"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="+-t?e,*_*Id7KA(31p#b"><value name="melody"><shadow type="melody_editor" id="]sZBi#Kb-f7;dR}kkNK4"><field name="melody">"C D E F E D C - "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="T3KswLT3_my:.)EA8yF*"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="music_playable_play" id="@V`a5}f%T+3zOHwA{)$U"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id=":IokvK;4G9/K-Mcr5`:9"><value name="melody"><shadow type="melody_editor" id="jRhF8R65@LA[p-nj=W|{"><field name="melody">"C D E F G A B C5 "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="EkTF+;BX,7iwr,n,s3?R"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="music_playable_play" id="gQ!kQ3vYdm??NgcF{iWn"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="N]C[~r]u3:i8kizpWwbe"><value name="melody"><shadow type="melody_editor" id="=s:l=v?}R=JtRuqt9zZZ"><field name="melody">"C5 B A G F E D C "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id=".GA9-!S1j;|uaEK;8AoB"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="music_playable_play" id="lenbe-:gRd#g:kHeZ1mX"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="tmbicn^hAFu./!=B?![`"><value name="melody"><shadow type="melody_editor" id="j1I8FqH#pXe7[(x:6H$z"><field name="melody">"C5 B A G A B C5 - "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="bKqk!4bo#s6G`q@aax,r"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="music_playable_play" id=",Fd#Z/RpkpGS`o3[s!{;"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="qb=$@$U5dfhYIzx[W/uu"><value name="melody"><shadow type="melody_editor" id="ZrY.`lUEgx*WQ`+OK+`k"><field name="melody">"C5 B A G A B C5 - "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="EUxF?6xn2G2vlg^Tb8d)"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="music_playable_play" id="t_h$h126r5-.hccUDzbR"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="[Nypj(Um)0w[HImrDv2U"><value name="melody"><shadow type="melody_editor" id="{cZ_L*`A+/0Oyj3GQg?f"><field name="melody">"C D E F G A B C5 "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="BUnbDT.ccVMAuT)yn)%("><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="music_playable_play" id="ZxOfE{9=l.Ekcug|5pZJ"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="#0J|~-i{m^e*:26xoy.A"><value name="melody"><shadow type="melody_editor"><field name="melody">"C5 B A G F E D C "</field></shadow><block type="melody_editor" id="+)Pn=6s;Z=Sc3(#+/A/_"><field name="melody">"C5 B A G F E D C "</field></block></value><value name="bpm"><shadow type="math_number_minmax" id="pK0jmI=rX8(T=;VhV8MC"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="device_button_event" id="W3_,6vK`vZ_ZSGj~5[i8" x="-1740" y="-1449"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="variables_set" id="qF|7~W4R3I#[Q4.pKs~J"><field name="VAR" id="V(wx:Z6PlQf)~XSkS/[$">Heading</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_heading" id="5FcH!;}d6(s1af!D%MSr"></block></value><next><block type="device_print_message" id="*s^,sDx6^Glbp#C6{4uv"><value name="text"><shadow type="text"><field name="TEXT">Hello!</field></shadow><block type="text_join" id="Y}BppdcUeAAO%1e%O$XS"><mutation items="2"></mutation><value name="ADD0"><shadow type="text" id="WesM;NH@y?l!w153lt/,"><field name="TEXT">Heading: </field></shadow></value><value name="ADD1"><shadow type="text"><field name="TEXT">World</field></shadow><block type="variables_get" id="@CTgR7DdOVHwMHFa4Q|v"><field name="VAR" id="V(wx:Z6PlQf)~XSkS/[$">Heading</field></block></value></block></value></block></next></block></statement></block><block type="pxt-on-start" id="*aL)Sdx?YH9@[%MVqL~0" x="691" y="-1033"><statement name="HANDLER"><block type="variables_set" id="PV9I!D6tutQc|h?GFghP"><field name="VAR" id="Rk*qn#%FE`=VX[UjE}N%">strip</field><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">0</field></shadow><block type="neopixel_create" id="6J#4zBH)/`(**q`h[ry:"><field name="pin">DigitalPin.P1</field><field name="mode">NeoPixelMode.RGB</field><value name="numleds"><shadow type="math_number" id="pItyQ3nms`WK{;F:,sUy"><field name="NUM">8</field></shadow></value></block></value><next><block type="device_set_pin_events" id="-yS=-o9baB~hs8wu1@ed"><field name="pin">DigitalPin.P1</field><field name="type">PinEventType.Touch</field><next><block type="device_set_pin_events" id="2KObg3d+jy_M#Cr`=jZF"><field name="pin">DigitalPin.P2</field><field name="type">PinEventType.Touch</field><next><block type="record_setMicGain" id="V?uQ$]8NNPB=r7)`LDHh"><field name="gain">record.AudioLevels.High</field><next><block type="dataloggersetcolumntitles" id="^Ew(XC)J6Qm-=8`kEd}O"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="4" _input_init="true"></mutation><value name="col1"><shadow type="datalogger_columnfield" id="~qV2y:[O20T@G_dSipi_"><field name="column">"Steps"</field></shadow></value><value name="col2"><shadow type="datalogger_columnfield" id="_.YF|2q9EE.+2`[c,gWx"><field name="column">"Running Time (ms)"</field></shadow></value><value name="col3"><shadow type="datalogger_columnfield" id="I;JX.}dozG#pG4#T|Ba5"><field name="column">"Tempature (C)"</field></shadow></value><value name="col4"><shadow type="datalogger_columnfield" id="?G{fYjUj#iWitI1;!jx("><field name="column">"Light Level"</field></shadow></value><value name="col5"><shadow type="datalogger_columnfield" id="+7L_?Pj?oXab(IE_/GRa"><field name="column">"Running Time (micros)"</field></shadow></value><value name="col6"><shadow type="datalogger_columnfield" id="|(7lEMB$3SmzjQBl;OLE"><field name="column">""</field></shadow></value><value name="col7"><shadow type="datalogger_columnfield" id="k|$Z)DiEv#FsK0Vuacu`"><field name="column">""</field></shadow></value><value name="col8"><shadow type="datalogger_columnfield" id="7CYwx_+^yPrO!)hP_7H#"><field name="column">""</field></shadow></value><value name="col9"><shadow type="datalogger_columnfield" id="~8u_~RC/JG(bP?K!X$*6"><field name="column">""</field></shadow></value><value name="col10"><shadow type="datalogger_columnfield" id="$q,c9x@_0(If7Wuxj}t2"><field name="column">""</field></shadow></value><next><block type="device_print_message" id="qDPyyr3G)BO4BJK0`$J`"><value name="text"><shadow type="text" id="cLok0q/jw8QdQ$x^ipAz"><field name="TEXT">Hello</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="input_logo_event" id="cZQTIoQ][UY2a1ib2[uV" x="-804" y="-911"><field name="action">TouchButtonEvent.LongPressed</field><statement name="HANDLER"><block type="dataloggerlog" id="vH%zzsmyQKwn?jT?Oo#t"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="4" _input_init="true"></mutation><value name="data1"><shadow type="dataloggercreatecolumnvalue" id="nQ~y`iq3zC^l#M.swoJO"><value name="column"><shadow type="datalogger_columnfield" id="n*-5JoyXM,e0~+)YNyr{"><field name="column">"Steps"</field></shadow></value><value name="value"><shadow type="math_number" id="@Y*W1Qx7/kv5xUmjv8k!"><field name="NUM">0</field></shadow><block type="variables_get" id="GtB(TQ1InxU9b/u6L)Nd"><field name="VAR" id="7tm55|_=E@84]u!5[IIi">Step</field></block></value></shadow></value><value name="data2"><shadow type="dataloggercreatecolumnvalue" id="BmoGs8k1xm^?rE)1o7+V"><value name="column"><shadow type="datalogger_columnfield" id="K11m}?Az]Iw=B,^UkH!("><field name="column">"Running Time (ms)"</field></shadow></value><value name="value"><shadow type="math_number" id="~G%wChu_DN@U.]Gjns;@"><field name="NUM">0</field></shadow><block type="device_get_running_time" id="51caWh%oPdEOB;$07z7%"></block></value></shadow></value><value name="data3"><shadow type="dataloggercreatecolumnvalue" id="})A,JCmmX=dG+AUTwsgX"><value name="column"><shadow type="datalogger_columnfield" id="/Q8]8Q3qyjtpaX2?CG2J"><field name="column">"Tempature (C)"</field></shadow></value><value name="value"><shadow type="math_number" id="g1Vw!l^r3g;E:|e|A!+."><field name="NUM">0</field></shadow><block type="device_temperature" id="cN~kEDd)nv8*p3eu+*ey"></block></value></shadow></value><value name="data4"><shadow type="dataloggercreatecolumnvalue" id="Pc+6J{F``Nra4ycr5;Mi"><value name="column"><shadow type="datalogger_columnfield" id="M:(f]AskV,5ApshUUs~]"><field name="column">"Light Level"</field></shadow></value><value name="value"><shadow type="math_number" id="XqDY+(f=jGw-I(FoM(.r"><field name="NUM">0</field></shadow><block type="device_get_light_level" id="vbh9WWTM#jNdp63wE`M8"></block></value></shadow></value><value name="data5"><shadow type="dataloggercreatecolumnvalue" id="zp%fl1:|qwi_Pq^]#HP0"><value name="column"><shadow type="datalogger_columnfield" id=");?a}i_!znwSo5+=(7DC"><field name="column">"Running Time (micros)"</field></shadow></value><value name="value"><shadow type="math_number" id="rkk/=h@lA/zVoW@$5Kyz"><field name="NUM">0</field></shadow><block type="device_get_running_time_micros" id="`Hsjp/$)JWu!*6}`xD[`"></block></value></shadow></value><value name="data6"><shadow type="dataloggercreatecolumnvalue" id="TKALK!C@IU*1gvYMY?Z/"><value name="column"><shadow type="datalogger_columnfield" id="jHFd.?7fil}pvmzpo8}E"><field name="column">""</field></shadow></value><value name="value"><shadow type="math_number" id=",?7r8,y+dW`;yC.fDBW."><field name="NUM">0</field></shadow></value></shadow></value><value name="data7"><shadow type="dataloggercreatecolumnvalue" id="R4UJ?q4yIMHa=S(]qJA+"><value name="column"><shadow type="datalogger_columnfield" id="IZ]L-QxkKGQa])OXx!A^"><field name="column">""</field></shadow></value><value name="value"><shadow type="math_number" id="*iK((4b,[*nN^3dKPe`o"><field name="NUM">0</field></shadow></value></shadow></value><value name="data8"><shadow type="dataloggercreatecolumnvalue" id="t]dG@y^rb,|`UDA;Yp])"><value name="column"><shadow type="datalogger_columnfield" id="/n(RjO;:[V^ZF%/XBR~R"><field name="column">""</field></shadow></value><value name="value"><shadow type="math_number" id="`JOyP_f{LBZEWGr09q7]"><field name="NUM">0</field></shadow></value></shadow></value><value name="data9"><shadow type="dataloggercreatecolumnvalue" id="|pBFT+DegMMSN1Mz35-Q"><value name="column"><shadow type="datalogger_columnfield" id=".0-DCaOHx2nW@7h,x]rm"><field name="column">""</field></shadow></value><value name="value"><shadow type="math_number" id="1_Oicv;AI-UQ3R};el9G"><field name="NUM">0</field></shadow></value></shadow></value><value name="data10"><shadow type="dataloggercreatecolumnvalue" id="jVK(Y4nj1vp(J6wKI?yk"><value name="column"><shadow type="datalogger_columnfield" id="E1O*a~vi7D{xYe2p4isr"><field name="column">""</field></shadow></value><value name="value"><shadow type="math_number" id="KIsg=W4?vRH]vU:Z(m|0"><field name="NUM">0</field></shadow></value></shadow></value><next><block type="device_print_message" id="2KJ|)$|K[yB{(S.0l}H8"><value name="text"><shadow type="text" id="6AjcGm0,dU6|KmSek1QS"><field name="TEXT">Saving Data</field></shadow></value></block></next></block></statement></block><block type="device_button_event" id="UW*zMfp+jX7LnFZbZ1gd" x="207" y="-597"><field name="NAME">Button.AB</field><statement name="HANDLER"><block type="device_print_message" id="K/)Rt]@e!*pCGpjsOY9`"><value name="text"><shadow type="text" id=",#)u0(E.9N;bY{:vt@9z"><field name="TEXT">Record</field></shadow></value><next><block type="record_startRecording" id="STbqNonl5pIRH8Ba0CV$"><field name="mode">record.BlockingState.Blocking</field><next><block type="record_playAudio" id="{,V,w,?iC:7yZFBR/6l:"><field name="mode">record.BlockingState.Blocking</field></block></next></block></next></block></statement></block><block type="input_logo_event" id="gB]LjSIJQd][$P8#A#2?" x="-1916" y="-269"><field name="action">TouchButtonEvent.Pressed</field><statement name="HANDLER"><block type="function_call" id="wZm?/o%.tDafa:S7MtY0"><mutation name="Stats" functionid="TsMqQaIW$94,6r!HH,7p"></mutation></block></statement></block><block type="device_button_event" id="b9WK+Hp;qYrA4c^^lG?B" x="-756" y="-201"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="device_print_message" id="vccRAIs?#,%PDEYpy|nk"><value name="text"><shadow type="text" id=";xF2m4wGW^,]..{y_9}!"><field name="TEXT">Images</field></shadow></value><next><block type="variables_set" id="U(Nh%LCM9Qw#uZ5ESFBG"><field name="VAR" id="R9VeE4Ch$HeXTB{:vcyL">myImage</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_build_image" id=")j+E$nTP!Ny3kB9an[ge"><field name="LEDS">`
# # # # #
# . . . #
# . . . #
# . . . #
# # # # #
`</field></block></value><next><block type="device_scroll_image" id=";dp62%;Yku0;Ob2yXf.k"><value name="sprite"><block type="variables_get" id="B]Ax)5vLTdG7^cZVW%pk"><field name="VAR" id="R9VeE4Ch$HeXTB{:vcyL">myImage</field></block></value><value name="frameoffset"><shadow type="math_number" id="`1~)EVx6x2ajdo_7uccx"><field name="NUM">1</field></shadow></value><value name="delay"><shadow type="math_number" id="i2O1/{cn(K+a+qTa}UNN"><field name="NUM">200</field></shadow></value><next><block type="device_pause" id=";/=d^?w+wMv7`pv^jf(]"><value name="pause"><shadow type="timePicker" id="zeugX[?BgCRju5$l4,hJ"><field name="ms">1000</field></shadow></value><next><block type="device_show_leds" id="*?jvk8:kUQLgOT@%h@N;"><field name="LEDS">`
. . . . #
. . . # .
. . # . .
. # . . .
# . . . .
`</field><next><block type="device_pause" id="~=p$/NUEJRJOrugQws8Z"><value name="pause"><shadow type="timePicker" id="1lX~*zH;QK.f^N%x1:h_"><field name="ms">1000</field></shadow></value><next><block type="device_show_leds" id="86~Q,8^xq~k(b2hmM2u/"><field name="LEDS">`
# . . . .
. # . . .
. . # . .
. . . # .
. . . . #
`</field><next><block type="device_pause" id="}!|c+URXDpKfOCD*r@K;"><value name="pause"><shadow type="timePicker" id="qoi;^9Q5KkH0E.8arpt^"><field name="ms">1000</field></shadow></value><next><block type="basic_show_icon" id="1nKU~3HC*!(y+tb)4Ok="><field name="i">IconNames.Happy</field><next><block type="device_pause" id="_kjj5_6:m~so6n1nCB3d"><value name="pause"><shadow type="timePicker" id="5}h-CM1^/`%U9Rs.ZVOO"><field name="ms">1000</field></shadow></value><next><block type="basic_show_icon" id="8TeKzo*_.hViKv6bsyI`"><field name="i">IconNames.House</field><next><block type="device_pause" id="{y#N{1fm}~$3a{$hOE?!"><value name="pause"><shadow type="timePicker" id="8|LN,Ez39M:2}^A/q.Eq"><field name="ms">1000</field></shadow></value><next><block type="basic_show_icon" id="u%iJg$VxFFk/(FIw.A{Z"><field name="i">IconNames.Scissors</field><next><block type="device_pause" id="zTIRGb7=(km;i4mO?xoS"><value name="pause"><shadow type="timePicker" id="$T7hz^GWw$P_XwDRSt32"><field name="ms">1000</field></shadow></value><next><block type="basic_show_icon" id="Wjv7o=FCk[1+_{?xTMt8"><field name="i">IconNames.LeftTriangle</field><next><block type="device_pause" id="Z1wur+cSs5iLcm8I)#7v"><value name="pause"><shadow type="timePicker" id="{`JiEmAaC4;yZ/=!,M_7"><field name="ms">1000</field></shadow></value><next><block type="basic_show_icon" id="U,:w8A=rhMzs2F*6OD8a"><field name="i">IconNames.Diamond</field><next><block type="device_pause" id="hEdKiSiv7r]^,_ozyBbf"><value name="pause"><shadow type="timePicker" id="qqhd^!(wgAi4lr11Nz%o"><field name="ms">1000</field></shadow></value><next><block type="basic_show_icon" id="6o_+0));=df,pXGmGc9S"><field name="i">IconNames.SmallDiamond</field></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="device_gesture_event" id="iCzn=JYN4n,#!.hKv$NX" x="530" y="-193"><field name="NAME">Gesture.EightG</field><statement name="HANDLER"><block type="device_print_message" id=",1RPyx(~~%;MSjkO~cPF"><value name="text"><shadow type="text" id="GO~W~AF,tC+d:XL3N8oZ"><field name="TEXT">Hello!</field></shadow><block type="text_join" id="kvB/qYK-5buTMAYMRyH{"><mutation items="2"></mutation><value name="ADD0"><shadow type="text" id="/^vIp#N]j|eD|F^05msH"><field name="TEXT">Steps: </field></shadow></value><value name="ADD1"><shadow type="text" id="1r0=t5r+eATH:QPStB5N"><field name="TEXT">World</field></shadow><block type="variables_get" id=")()!A@y4!@gbnpbT5~6j"><field name="VAR" id="7tm55|_=E@84]u!5[IIi">Step</field></block></value></block></value></block></statement></block><block type="function_definition" id="G,7YC$$J]B~#BX3s{ZLE" x="-1732" y="5"><mutation name="Stats" functionid="TsMqQaIW$94,6r!HH,7p"></mutation><field name="function_name">Stats</field><statement name="STACK"><block type="device_print_message" id="(jXUF0f*yo`*I8xR=:c{"><value name="text"><shadow type="text" id="5a%Z$%romg#9A}6g[jG,"><field name="TEXT">Stats</field></shadow></value><next><block type="device_print_message" id="N0{[iOLck`PnOxhiEfVf"><value name="text"><shadow type="text"><field name="TEXT">Hello!</field></shadow><block type="text_join" id="}!BTk8MmoCtlKlg;S(X!"><mutation items="3"></mutation><value name="ADD0"><shadow type="text" id="g_dIw7;=KH2*B{/@agsu"><field name="TEXT">Running Time: </field></shadow></value><value name="ADD1"><shadow type="text"><field name="TEXT">World</field></shadow><block type="device_get_running_time" id="1om1Zrb#u#?[%[c$MG*{"></block></value><value name="ADD2"><shadow type="text" id="=?xTrZ4R35LU[^.H%I~F"><field name="TEXT"> ms</field></shadow></value></block></value><next><block type="device_print_message" id="~R`wC_MwQj(_JPlYJ6f6"><value name="text"><shadow type="text"><field name="TEXT">Hello!</field></shadow><block type="text_join" id="o2~:CJ`4Z7J#n^@VPsaS"><mutation items="3"></mutation><value name="ADD0"><shadow type="text" id="ebu~_@?f}x?bs22kCe@k"><field name="TEXT">Running Time (micros): </field></shadow></value><value name="ADD1"><shadow type="text"><field name="TEXT">World</field></shadow><block type="device_get_running_time_micros" id="}QqZ8GF_OEbfr$@KmaIk"></block></value><value name="ADD2"><shadow type="text" id="igu+8JN?aMplc$pe*-~C"><field name="TEXT">micros</field></shadow></value></block></value><next><block type="device_print_message" id="~TgKv{y1$je$O~sj8H5d"><value name="text"><shadow type="text"><field name="TEXT">Hello!</field></shadow><block type="text_join" id="l3Vf}a@,[cGD#$i}g{]i"><mutation items="2"></mutation><value name="ADD0"><shadow type="text" id="XXiMoA1D7#iA4JN58+#6"><field name="TEXT">Temperature (C)</field></shadow></value><value name="ADD1"><shadow type="text"><field name="TEXT">World</field></shadow><block type="device_temperature" id="Cc,*bTP@}h5$03aQA}_R"></block></value></block></value><next><block type="device_print_message" id="@9WmsE)L90Aqh1B0U/Ot"><value name="text"><shadow type="text"><field name="TEXT">Hello!</field></shadow><block type="text_join" id="xo-[4W5Y*7(pK?*qqwM4"><mutation items="2"></mutation><value name="ADD0"><shadow type="text" id="r-^Hd%m8tmMv,a1?}+Cl"><field name="TEXT">Light Level: </field></shadow></value><value name="ADD1"><shadow type="text"><field name="TEXT">World</field></shadow><block type="device_get_light_level" id="_THASTsw%N}Dv-bM2)}C"></block></value></block></value><next><block type="device_print_message" id="@[Y3S9a2PI!RiOAuk.=?"><value name="text"><shadow type="text"><field name="TEXT">Hello!</field></shadow><block type="text_join" id="hX=e~D-Chm*tC_p|S7-*"><mutation items="2"></mutation><value name="ADD0"><shadow type="text" id="2OjS|Txv+Y1e#Xi!)zLw"><field name="TEXT">Sound Level: </field></shadow></value><value name="ADD1"><shadow type="text"><field name="TEXT">World</field></shadow><block type="device_get_sound_level" id="{u%}S]@na-KK8Bt!Mn{R"></block></value></block></value></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="device_gesture_event" id="X6urS)G`2[(?{rnyIEmj" x="0" y="0"><field name="NAME">Gesture.Shake</field><statement name="HANDLER"><block type="variables_change" id="MQh5Np~o4XSYg7mcB*/="><field name="VAR" id="7tm55|_=E@84]u!5[IIi">Step</field><value name="VALUE"><shadow type="math_number" id="5lzWc@:rNrB{rTEocz9}"><field name="NUM">1</field></shadow></value></block></statement></block><block type="device_pin_event" id="9Wb],}H5NHYC4j]D!6gm" x="-446" y="356"><field name="name">TouchPin.P2</field><statement name="HANDLER"><block type="device_print_message" id="7;MQ{=G1{VL3eN34r`Em"><value name="text"><shadow type="text" id="4Jsp0mOQe1q:Z,u`[-kc"><field name="TEXT">Connect a servo to pin 2</field></shadow></value><next><block type="device_set_pin_events" id="cBzwv#e_0LznR]^FXqq["><field name="pin">DigitalPin.P2</field><field name="type">PinEventType.Edge</field><next><block type="servoservosetangle" id="LE9%c]S]t}u];0}7dx4U"><field name="servo">servos.P2</field><value name="degrees"><shadow type="protractorPicker" id="o1Q*}}K#_2hTCWfV!O8h"><field name="angle">0</field></shadow></value><next><block type="device_pause" id="]2wN}tl16%B$+BS}L*sJ"><value name="pause"><shadow type="timePicker" id="|E~$%Fa3-b^Up!T^$%s{"><field name="ms">1000</field></shadow></value><next><block type="servoservosetangle" id="O3k}{frN-I/8nBrK2FGQ"><field name="servo">servos.P2</field><value name="degrees"><shadow type="protractorPicker" id="wRN%PI.Zkp6)0{!4on)w"><field name="angle">90</field></shadow></value><next><block type="device_pause" id="H]]:oUWh6U4?cRg)@dm}"><value name="pause"><shadow type="timePicker" id="qX1qZBGl@.)9.;WYf:A5"><field name="ms">1000</field></shadow></value><next><block type="servoservosetangle" id="ByK@sPFyNe|c03RM3vrs"><field name="servo">servos.P2</field><value name="degrees"><shadow type="protractorPicker" id="NTp*ycocy4%`xTv[/}dh"><field name="angle">180</field></shadow></value><next><block type="device_pause" id="bD?6huE,SG96JuY=`_Xd"><value name="pause"><shadow type="timePicker" id="*n#Qsh7KaO=;T]=SY@HJ"><field name="ms">1000</field></shadow></value><next><block type="servoservosetangle" id="?I.j;QVThq3Qv+G*`MEG"><field name="servo">servos.P2</field><value name="degrees"><shadow type="protractorPicker" id="(Nmx0^3x0?!$5?@M8LZ#"><field name="angle">90</field></shadow></value><next><block type="device_pause" id="??v?E09aHWU9*PORL?XE"><value name="pause"><shadow type="timePicker" id="{)5:-.E=gN2]c!=9F_Xz"><field name="ms">1000</field></shadow></value><next><block type="servoservosetangle" id="=ITn~sLya=_cLhg=G?:t"><field name="servo">servos.P2</field><value name="degrees"><shadow type="protractorPicker" id="CT+-}HC}P57*;Gs^1:[:"><field name="angle">0</field></shadow></value><next><block type="device_set_pin_events" id="kM}Z]9gI+.([UXRI-Y4("><field name="pin">DigitalPin.P2</field><field name="type">PinEventType.Touch</field></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="device_pin_event" id="rY6~Wtl)v9oAo%4hX*mC" x="99" y="390"><field name="name">TouchPin.P1</field><statement name="HANDLER"><block type="device_print_message" id="C6Om^fQAd{]NF)Y^kjTV"><value name="text"><shadow type="text" id="47sR@M.+_EYvtSw-GH--"><field name="TEXT">Connect a Neopixel to pin 1</field></shadow></value><next><block type="device_set_pin_events" id="ySz0}nT!mFI{m!vi(2Z{"><field name="pin">DigitalPin.P1</field><field name="type">PinEventType.Edge</field><next><block type="neopixel_set_strip_rainbow" id="MI;c]*L;o3?JS8wNvW8O"><value name="strip"><block type="variables_get" id="qX+LXNl#VzsUnSj!rMOD"><field name="VAR" id="Rk*qn#%FE`=VX[UjE}N%">strip</field></block></value><value name="startHue"><shadow type="math_number" id="#L}zMq(c$U_.*WRna:j_"><field name="NUM">1</field></shadow></value><value name="endHue"><shadow type="math_number" id="-?j3,S1snS]G(}apT]Ch"><field name="NUM">360</field></shadow></value><next><block type="controls_repeat_ext" id="Mae+^qRtr=8t).^ufpkA"><value name="TIMES"><shadow type="math_whole_number" id="~;Cc%(|!]rIo/JAhb(j/"><field name="NUM">1000</field></shadow></value><statement name="DO"><block type="neopixel_show" id="UAa#oKN+/XQFq=yTdl6l"><value name="strip"><block type="variables_get" id="-Y!^DPa@D!SFoIy/v)Fw"><field name="VAR" id="Rk*qn#%FE`=VX[UjE}N%">strip</field></block></value><next><block type="neopixel_rotate" id="Angof$f6Cxp`O|[nTvS`"><value name="strip"><block type="variables_get" id="Yfpl==fD0P(;u@#$,Ds7"><field name="VAR" id="Rk*qn#%FE`=VX[UjE}N%">strip</field></block></value><value name="offset"><shadow type="math_number" id=".O-e48mSvbH?+%,+qr(T"><field name="NUM">1</field></shadow></value><next><block type="device_pause" id="KHeMWJZ*YQV^I_DD}ye."><value name="pause"><shadow type="timePicker" id="XOz=ajJ$Mv%.@+mncsyI"><field name="ms">100</field></shadow></value></block></next></block></next></block></statement><next><block type="device_set_pin_events" id="w#WcndXFSyT^BA!4PDW6"><field name="pin">DigitalPin.P1</field><field name="type">PinEventType.Touch</field></block></next></block></next></block></next></block></next></block></statement></block></xml>