-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 9.5 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="[$xd:vOu-~/iifI^_ZDp">sprite</variable></variables><block type="device_forever" id="Z-MhHn8!:wVc7c@WA]T2" x="483" y="0"><statement name="HANDLER"><block type="controls_repeat_ext" id="ECiL?^=*V8!IE_Oz#_,~"><value name="TIMES"><shadow type="math_whole_number" id="-#jw{#o2iU5Hxl(%}@X["><field name="NUM">4</field></shadow></value><statement name="DO"><block type="radio_datagram_send" id="Xw:xg$Y`lic1+$!f82Qy"><value name="value"><shadow type="math_number" id="+hh}xj]wyJq7IQlGC,Gx"><field name="NUM">0</field></shadow></value><next><block type="device_pause" id="f1)y6=Av{FuQm$7{tiX?"><value name="pause"><shadow type="timePicker" id="[Il[@Pwq/lF`nc$,uJQ2"><field name="ms">1000</field></shadow></value><next><block type="function_call" id="[^YpCpx93:?Cyy*wIAF_"><mutation name="Feu vert" functionid="FO(b9}1tVKFxeM,u^~q:"/><next><block type="device_clear_display" id="cU2Qs`whY1gX=n3@e6D("><next><block type="device_pause" id="p)!|z)?Q@-?]mICFU0__"><value name="pause"><shadow type="timePicker" id="hJdp-|XVZQ;;O_s#[~-]"><field name="ms">500</field></shadow></value><next><block type="device_show_leds" id="d@;BuZBzsZDtLjQ`/WHR"><field name="LEDS">` . . . . . . # . # # # # # # . . # . # # . . . . . `</field><next><block type="device_pause" id="hz[qvi}Ox)i=JRhDIQ?n"><value name="pause"><shadow type="timePicker" id="1vH@]I6:b)oeIV+|0voo"><field name="ms">7000</field></shadow></value><next><block type="function_call" id="@Oiio.)^s]s!COdV6Q_["><mutation name="Feu orange" functionid="4o$+|Z)lOUM$An_A*C-C"/><next><block type="device_pause" id="4ey#XGtu+}usaMn--J3)"><value name="pause"><shadow type="timePicker" id="?{9-08([tXFN;cZio:Y9"><field name="ms">3000</field></shadow></value><next><block type="device_clear_display" id="MQC^opGxV;4fUlD9~2E*"><next><block type="function_call" id="NF_`Ac/aSL(yuv5vIL~D"><mutation name="Feu rouge" functionid=",a@D};aF:)}(m2`WX9)f"/><next><block type="device_pause" id="4jX3Hbe?UnjuV:;:cJ:z"><value name="pause"><shadow type="timePicker" id="U{[~IowjM/e9I`s%mwB#"><field name="ms">500</field></shadow></value><next><block type="device_show_leds" id="Jso~bmYr(i9cL-.s_?d^"><field name="LEDS">` . . # . . . # . . # # # # # # . # . # . # . . . # `</field><next><block type="device_pause" id="/744ZsG:p=5k4,)o]*9S"><value name="pause"><shadow type="timePicker" id="e22??p^yj%+gZJd;;l4e"><field name="ms">500</field></shadow></value><next><block type="radio_datagram_send" id="l7Y%xj[$3.*xc@3*ke(O"><value name="value"><shadow type="math_number" id="B#_M%VSUf.t+i`HW]6^%"><field name="NUM">2</field></shadow></value><next><block type="device_pause" id="^BC.=-ku^k~z~;/evzTU"><value name="pause"><shadow type="timePicker" id="-5lP.mT.^U1EOv2iu`gu"><field name="ms">7000</field></shadow></value><next><block type="radio_datagram_send" id="Gz}KHM*xfr:B9/[/:PC+"><value name="value"><shadow type="math_number" id="$Y!De38{vD7DHtA*_X_W"><field name="NUM">1</field></shadow></value><next><block type="device_pause" id=")+/*0,:NOHOa;c6z|IP]"><value name="pause"><shadow type="timePicker" id="`1aoMnFZA6hu:SCAunSr"><field name="ms">3000</field></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></next></block></next></block></next></block></next></block></statement><next><block type="controls_repeat_ext" id="l6^MXOuMHup21dqmB$Ju"><value name="TIMES"><shadow type="math_whole_number" id="jCzpA4v$69|iYt(=_*4/"><field name="NUM">20</field></shadow></value><statement name="DO"><block type="function_call" id="%lf-603_cYL;gvm7eH70"><mutation name="Eteindre tout" functionid="%tVuyJ`*mM1Yv5=9alE$"/><next><block type="device_clear_display" id="#NG]JtWXZ;`p0=W@A0`F"><next><block type="function_call" id="tXfl1a$Yzvhewwk^E6Vu"><mutation name="Clignotant" functionid="83qwmH`*4]_taV[DzJ5z"/><next><block type="radio_datagram_send" id="rJww3bc:js}$vd[#.)Lf"><value name="value"><shadow type="math_number" id="2(yTlM$rg.d-IyJ:$zUt"><field name="NUM">3</field></shadow></value></block></next></block></next></block></next></block></statement><next><block type="function_call" id="o#4$bYMJ4_1DE_-~WI*Z"><mutation name="Eteindre tout" functionid="%tVuyJ`*mM1Yv5=9alE$"/><next><block type="device_pause" id="Owy*Qmt_C`byw;J+2|mO"><value name="pause"><shadow type="timePicker" id="kpdI6H~}%jL=]fDQ23ta"><field name="ms">500</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type="pxt-on-start" id="I]m;ulXKDi?@h((U9Zwa" x="39" y="26"><statement name="HANDLER"><block type="radio_set_group" id="6B3@3hRM%h,LSzMq!`!|"><value name="ID"><shadow type="math_number_minmax" id="F1o%{^W?Y*oq!B},FRl#"><mutation min="0" max="255" label="Number" precision="0"/><field name="SLIDER">1</field></shadow></value></block></statement></block><block type="function_definition" id="J~m88ne[b,hS+,{/W/OV" x="41" y="227"><mutation name="Feu rouge" functionid=",a@D};aF:)}(m2`WX9)f"/><field name="function_name">Feu rouge</field><statement name="STACK"><block type="function_call" id="dw$Hb6CrpHdFwzvp@B/3"><mutation name="Eteindre tout" functionid="%tVuyJ`*mM1Yv5=9alE$"/><next><block type="device_set_digital_pin" id="Qse|0N{JvlwG}`?D0j/!"><field name="name">DigitalPin.P0</field><value name="value"><shadow type="math_number_minmax" id="X}yTpI@r{O~$f8Vf@l{g"><mutation min="0" max="1" label="Number" precision="0"/><field name="SLIDER">1</field></shadow></value></block></next></block></statement></block><block type="function_definition" id="U{VNde!d):KW.~+;bUDN" x="6" y="428"><mutation name="Feu orange" functionid="4o$+|Z)lOUM$An_A*C-C"/><field name="function_name">Feu orange</field><statement name="STACK"><block type="function_call" id="tJTiLB[u;]GSCpYD#)ZM"><mutation name="Eteindre tout" functionid="%tVuyJ`*mM1Yv5=9alE$"/><next><block type="device_set_digital_pin" id="!RPp}(Li|4J.=Pd|^,vB"><field name="name">DigitalPin.P1</field><value name="value"><shadow type="math_number_minmax" id="O}vZAnM]Ozf?!:K_bmRu"><mutation min="0" max="1" label="Number" precision="0"/><field name="SLIDER">1</field></shadow></value></block></next></block></statement></block><block type="function_definition" id="*p0Yn?mJ*q5!:}DYyvVO" x="6" y="645"><mutation name="Feu vert" functionid="FO(b9}1tVKFxeM,u^~q:"/><field name="function_name">Feu vert</field><statement name="STACK"><block type="function_call" id="mt:w0RfiddZe+4dURb,1"><mutation name="Eteindre tout" functionid="%tVuyJ`*mM1Yv5=9alE$"/><next><block type="device_set_digital_pin" id="1XE@oX$NovSufOuHO943"><field name="name">DigitalPin.P2</field><value name="value"><shadow type="math_number_minmax" id="hoTeO(zE+avpHKK1OzRo"><mutation min="0" max="1" label="Number" precision="0"/><field name="SLIDER">1</field></shadow></value></block></next></block></statement></block><block type="function_definition" id=".cW:yI`=d2f3Zw)-LHF+" x="0" y="845"><mutation name="Clignotant" functionid="83qwmH`*4]_taV[DzJ5z"/><field name="function_name">Clignotant</field><statement name="STACK"><block type="function_call" id="=q*L=ss^0BuM=;,#lfrJ"><mutation name="Eteindre tout" functionid="%tVuyJ`*mM1Yv5=9alE$"/><next><block type="device_set_digital_pin" id="O*Q|*6x4#*7`/7{bp=*v"><field name="name">DigitalPin.P1</field><value name="value"><shadow type="math_number_minmax" id="eU/7%-!uUjR6zfKKSn$E"><mutation min="0" max="1" label="Number" precision="0"/><field name="SLIDER">1</field></shadow></value><next><block type="device_pause" id="?QiCS-+1N57/N8(P^Jc*"><value name="pause"><shadow type="timePicker" id="yT6C}w}p9-~L-C0CRd-U"><field name="ms">750</field></shadow></value><next><block type="function_call" id="AI//H%Y6A]H-Ffvv=)Sh"><mutation name="Eteindre tout" functionid="%tVuyJ`*mM1Yv5=9alE$"/><next><block type="device_set_digital_pin" id="QsBLHM,l:LYMH@m)7r?q"><field name="name">DigitalPin.P1</field><value name="value"><shadow type="math_number_minmax" id="A@Q~v~eIuK$eCkLMOEJC"><mutation min="0" max="1" label="Number" precision="0"/><field name="SLIDER">0</field></shadow></value><next><block type="device_pause" id="5hs[/AfL0~K?/m=76--1"><value name="pause"><shadow type="timePicker" id="39U-`k71sb/)hn$^z:o)"><field name="ms">500</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="W.[hsFL1f3dcE}xdv^r-" x="16" y="1239"><mutation name="Eteindre tout" functionid="%tVuyJ`*mM1Yv5=9alE$"/><field name="function_name">Eteindre tout</field><statement name="STACK"><block type="device_set_digital_pin" id="R}Q-evgn+3xSFR$zZWF/"><field name="name">DigitalPin.P0</field><value name="value"><shadow type="math_number_minmax" id="xa$Xi3Jq$8bRP:/C0W_~"><mutation min="0" max="1" label="Number" precision="0"/><field name="SLIDER">0</field></shadow></value><next><block type="device_set_digital_pin" id="Y@JDXrwb+3]~(W)2eOM%"><field name="name">DigitalPin.P1</field><value name="value"><shadow type="math_number_minmax" id="V!Z=j/3Q6o}goJ,2(VQh"><mutation min="0" max="1" label="Number" precision="0"/><field name="SLIDER">0</field></shadow></value><next><block type="device_set_digital_pin" id="xu,u(^2YfOU`8.8W|H$l"><field name="name">DigitalPin.P2</field><value name="value"><shadow type="math_number_minmax" id="f#_de$^WdTxa5KjPf[ti"><mutation min="0" max="1" label="Number" precision="0"/><field name="SLIDER">0</field></shadow></value></block></next></block></next></block></statement></block></xml>