-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
7 lines (7 loc) · 5.69 KB
/
main.blocks
1
2
3
4
5
6
7
<xml xmlns="https://developers.google.com/blockly/xml"><block type="pxt-on-start" id="M=u?Nu{G5yZ8W(rwdl#Y" x="299" y="-223"><statement name="HANDLER"><block type="basic_show_icon" id="[k5`.B*L$q.:zCq2qtLZ"><field name="i">IconNames.Happy</field><next><block type="device_set_servo_pin" id="4Y~:z}j-],qtCfqYmo,^"><field name="name">AnalogPin.P0</field><value name="value"><shadow type="math_number_minmax" id="NT?~DTba;N!cLgQAniMR"><mutation min="0" max="180" label="Value" precision="0"/><field name="SLIDER">90</field></shadow></value></block></next></block></statement></block><block type="device_button_event" id="*$tdOMK#At1n)J4B,Xw%" x="0" y="0"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="basic_show_icon" id="=6$ZT?B%JVj:[0*.O9~8"><field name="i">IconNames.Angry</field><next><block type="controls_repeat_ext" id="|,yCAKW$MSUQ,!l986Mb"><value name="TIMES"><shadow type="math_whole_number" id="@7FfWbf4s3$pP=!=}i)O"><field name="NUM">5</field></shadow></value><statement name="DO"><block type="device_set_servo_pin" id="^c_3|SWu.:k$v1(Die9;"><field name="name">AnalogPin.P0</field><value name="value"><shadow type="math_number_minmax" id="j.E,Amsp3O0=${=k|Ul#"><mutation min="0" max="180" label="Value" precision="0"/><field name="SLIDER">30</field></shadow></value><next><block type="device_pause" id="+QrO6bG%EzTM@nE?J6c9"><value name="pause"><shadow type="timePicker" id="ti:wHz=1yg_q#+)EUDCK"><field name="ms">500</field></shadow></value><next><block type="device_set_servo_pin" id="-fN-qpnF9[KLdh~;hDBR"><field name="name">AnalogPin.P0</field><value name="value"><shadow type="math_number_minmax" id="Y[sPV_:g,-4EvT]:ne]A"><mutation min="0" max="180" label="Value" precision="0"/><field name="SLIDER">90</field></shadow></value><next><block type="device_pause" id="QdvPxWPU!/a/gMrLNiV("><value name="pause"><shadow type="timePicker" id="`]SFo)zeCGX-a;TGMaf7"><field name="ms">500</field></shadow></value></block></next></block></next></block></next></block></statement><next><block type="basic_show_icon" id="]RyFm==d!LBzatAOP/Z?"><field name="i">IconNames.Happy</field></block></next></block></next></block></statement></block><block type="device_button_event" id="_s*3r[{Eo_Vs=ap;3${R" x="541" y="-4"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="basic_show_icon" id=")o]6vZ^1d=R{d87,3.LC"><field name="i">IconNames.Asleep</field><next><block type="controls_repeat_ext" id="3W/vU02}Pf@1D+^(xu^V"><value name="TIMES"><shadow type="math_whole_number" id="a*i,mm3(*_?Ydb6;d!{,"><field name="NUM">5</field></shadow></value><statement name="DO"><block type="device_set_servo_pin" id="~$pN+;A;Fdoa(CIUnB}O"><field name="name">AnalogPin.P0</field><value name="value"><shadow type="math_number_minmax" id="Qd$/Ij)U=/(gpHX?cwb`"><mutation min="0" max="180" label="Value" precision="0"/><field name="SLIDER">160</field></shadow></value><next><block type="device_pause" id="54[+zE:?.pB8a4=42wii"><value name="pause"><shadow type="timePicker" id="l^|]y_7C]-=mRwC{jQn`"><field name="ms">500</field></shadow></value><next><block type="device_set_servo_pin" id="*l#i.-wljS*N~dB0Hqz2"><field name="name">AnalogPin.P0</field><value name="value"><shadow type="math_number_minmax" id="N_x)^-z3`_7We/W@h!K_"><mutation min="0" max="180" label="Value" precision="0"/><field name="SLIDER">90</field></shadow></value><next><block type="device_pause" id="zqx^O(e|dDgQzRS;D4Yq"><value name="pause"><shadow type="timePicker" id="FXD@ob-+3(@gqT!xxejB"><field name="ms">500</field></shadow></value></block></next></block></next></block></next></block></statement><next><block type="basic_show_icon" id="vSk[:4.:|UTEZVXhR2Nb"><field name="i">IconNames.Happy</field></block></next></block></next></block></statement></block><block type="input_on_sound" id="pns24gVDUYk/cWkI|!jl" x="-2" y="546"><field name="sound">DetectedSound.Loud</field><statement name="HANDLER"><block type="controls_repeat_ext" id="dVE_z:=Qpc%qr.oS*Y#H"><value name="TIMES"><shadow type="math_whole_number" id="YS}t;YA]V:[[4lu81PNd"><field name="NUM">5</field></shadow></value><statement name="DO"><block type="basic_show_icon" id="=mzsV/nS!*UoF(d^x%TH"><field name="i">IconNames.Heart</field><next><block type="device_set_servo_pin" id="s0`Px:RQ,=ymAqL_TM)I"><field name="name">AnalogPin.P0</field><value name="value"><shadow type="math_number_minmax" id="T$)wlPkylmi:7(24FD6|"><mutation min="0" max="180" label="Value" precision="0"/><field name="SLIDER">60</field></shadow></value><next><block type="basic_show_icon" id="g3dpo@K$fX{Dx]JADQ/]"><field name="i">IconNames.SmallHeart</field><next><block type="device_pause" id="G|T|vxjU{qS/(ko#S$aY"><value name="pause"><shadow type="timePicker" id="KM7}),GM8=hQrc8tj7d6"><field name="ms">200</field></shadow></value><next><block type="device_show_leds" id="63-wdO_cArRm-%.TUWtE"><field name="LEDS">`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`</field><next><block type="device_set_servo_pin" id="DJ!pq-(,|@ElY,dP_v^("><field name="name">AnalogPin.P0</field><value name="value"><shadow type="math_number_minmax" id="X?I8`}[I()/F;oms08.J"><mutation min="0" max="180" label="Value" precision="0"/><field name="SLIDER">120</field></shadow></value><next><block type="basic_show_icon" id=";=?T|ta-KO{FOZTb[h!("><field name="i">IconNames.SmallHeart</field><next><block type="device_pause" id="GP19?Bx*OEju:qhNF~`["><value name="pause"><shadow type="timePicker" id="laJFS^JUgk?RXMUqF:c7"><field name="ms">100</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type="basic_show_icon" id="DNxd#Q[V@HN]m.+|g[/T"><field name="i">IconNames.Happy</field></block></next></block></statement></block></xml>