-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 7.37 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><block type="pxt-on-start" id="v8DHca)T#*?+$cHUC=zz" x="0" y="9"><statement name="HANDLER"><block type="radio_set_group" id="08t)~~59nP:*y,HR3gx^"><value name="ID"><shadow type="math_number_minmax" id="nL+(jN?[0+E4l,kFZ|]="><mutation min="0" max="255" label="Number" precision="0"/><field name="SLIDER">1</field></shadow></value><next><block type="bcLedRainbow" id="mPvZkViBCrllS]Du#}Gv"><next><block type="radio_datagram_send_value" id="%PWI[lS9hTQ`(YDHyckh"><value name="name"><shadow type="text" id="mv%kV?{3SH6^oT(O{a/Q"><field name="TEXT">cal_x</field></shadow></value><value name="value"><block type="bcReadJoystick" id="r4,[dwjZ|P4zVpV078vP"><field name="axis">BCJoystick.X</field></block></value><next><block type="radio_datagram_send_value" id="WgX8)m[VbJ:?7ECB=ipd"><value name="name"><shadow type="text" id=".}kZ)OZ]|OFIZOjROB!*"><field name="TEXT">cal_y</field></shadow></value><value name="value"><block type="bcReadJoystick" id="*^h;869yFqoi{mOkePNm"><field name="axis">BCJoystick.Y</field></block></value><next><block type="basic_show_icon" id="_i{8(X;jL[j.+;gFga^C"><field name="i">IconNames.Heart</field><next><block type="device_pause" id="RRgpVSL#Zx,#ZTL,g.8K"><value name="pause"><shadow type="timePicker" id="a?CXa:=G+PiJy}{8Vu9O"><field name="ms">500</field></shadow></value><next><block type="bcLedClear" id="(lyVcIu`o#T|a4RbSPi["/></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="bcOnEvent" id="iH_ax7B?HnY4eewSVmtF" x="561" y="1"><field name="button">BCPins.Red</field><field name="event">BCEvents.Down</field><statement name="HANDLER"><block type="radio_datagram_send_value" id="d@`m*oKbWU2ncQaY3hL["><value name="name"><shadow type="text" id="HNno/X8#0V.dpO},~#)u"><field name="TEXT">Red</field></shadow></value><value name="value"><shadow type="math_number" id="KY,XFu36{C)vVBHl],tG"><field name="NUM">1</field></shadow></value></block></statement></block><block type="bcOnEvent" id="9K),ZZtzQ_]dc@`6RL_Y" x="919" y="0"><field name="button">BCPins.Red</field><field name="event">BCEvents.Up</field><statement name="HANDLER"><block type="radio_datagram_send_value" id="q~aS5*SGGWryu(B;Ucx("><value name="name"><shadow type="text" id="3eJ]Jwv8Ve|eU1;ph}ka"><field name="TEXT">Red</field></shadow></value><value name="value"><shadow type="math_number" id="+.vz35xq7#[@TBd9:V^="><field name="NUM">0</field></shadow></value></block></statement></block><block type="bcOnEvent" id="]W9.|RjNc7hl/m-%=},w" x="560" y="140"><field name="button">BCPins.Yellow</field><field name="event">BCEvents.Down</field><statement name="HANDLER"><block type="radio_datagram_send_value" id="HA)pOCZy8ZiUD)yOHpw{"><value name="name"><shadow type="text" id="RpVL,S,$Z8M/V$MWeDEq"><field name="TEXT">Yellow</field></shadow></value><value name="value"><shadow type="math_number" id="rYe]!tVOU3Q6Z=1nzi5Q"><field name="NUM">1</field></shadow></value></block></statement></block><block type="bcOnEvent" id="tin^+K~o[Uu7s:qQXnB~" x="919" y="141"><field name="button">BCPins.Yellow</field><field name="event">BCEvents.Up</field><statement name="HANDLER"><block type="radio_datagram_send_value" id="Sh8^Cn$%N!$+lYIOz7ga"><value name="name"><shadow type="text" id="m0/=d2W2M0kFC!)W*^Px"><field name="TEXT">Yellow</field></shadow></value><value name="value"><shadow type="math_number" id="?wP[_/Qd29.o7JJ73C^."><field name="NUM">0</field></shadow></value></block></statement></block><block type="bcOnEvent" id="k@U!tx`VBX(hhE6YF{]C" x="561" y="282"><field name="button">BCPins.Green</field><field name="event">BCEvents.Down</field><statement name="HANDLER"><block type="radio_datagram_send_value" id="BHzNm0EPeEF^#Gm]/QXm"><value name="name"><shadow type="text" id="Z,aisRuirD`8Ua/DI1!X"><field name="TEXT">Green</field></shadow></value><value name="value"><shadow type="math_number" id="~.Jbh%ZE`|^3_bN{#;tY"><field name="NUM">1</field></shadow></value></block></statement></block><block type="bcOnEvent" id="^:hYg7n~ar!~p_WiFmi!" x="920" y="282"><field name="button">BCPins.Green</field><field name="event">BCEvents.Up</field><statement name="HANDLER"><block type="radio_datagram_send_value" id="HZ|n`_j#freYTKLfu)xn"><value name="name"><shadow type="text" id="?~t0cg$|w{{*(D+(WMJ2"><field name="TEXT">Green</field></shadow></value><value name="value"><shadow type="math_number" id="w#Z~ptl1VB4|,]:4oqFz"><field name="NUM">0</field></shadow></value></block></statement></block><block type="bcOnEvent" id="3hS_#vW.Di=?VvAHa?Za" x="561" y="423"><field name="button">BCPins.Blue</field><field name="event">BCEvents.Down</field><statement name="HANDLER"><block type="radio_datagram_send_value" id="CDlTujkNuQ}Tyhl-]*kF"><value name="name"><shadow type="text" id="lSL3(GoH4[n$0?+hS|-L"><field name="TEXT">Blue</field></shadow></value><value name="value"><shadow type="math_number" id="VSW:t0mW:rQS?RC;Ws#{"><field name="NUM">1</field></shadow></value></block></statement></block><block type="device_forever" id="Av{P_RpRX1EQssG%Vxpw" x="0" y="464"><statement name="HANDLER"><block type="radio_datagram_send_value" id="6owACphaEN$N.:og,rB+"><value name="name"><shadow type="text" id="@pc;=RY2O-_{P?`CwHmr"><field name="TEXT">x</field></shadow></value><value name="value"><block type="bcReadJoystick" id="mu}E2PWg(^u]A_@tH,pe"><field name="axis">BCJoystick.X</field></block></value><next><block type="radio_datagram_send_value" id=",i+kB8/mIxyc+]Q*:byf"><value name="name"><shadow type="text" id="E:G76~`HAg,C[.+:(U^|"><field name="TEXT">y</field></shadow></value><value name="value"><block type="bcReadJoystick" id="r~J;i5dc)?.BHnI;(?Ap"><field name="axis">BCJoystick.Y</field></block></value><next><block type="radio_datagram_send_value" id="fr^+7G[rrRK|%x%qS.Q:"><value name="name"><shadow type="text" id="r!f[zqoYn`ibu;aDnu7I"><field name="TEXT">Dial</field></shadow></value><value name="value"><block type="bcReadDial" id="}TYVWKfY1}|?q`[2A*TM"/></value></block></next></block></next></block></statement></block><block type="bcOnEvent" id="#~QUDZTCqvra;e%SO5y=" x="921" y="420"><field name="button">BCPins.Blue</field><field name="event">BCEvents.Up</field><statement name="HANDLER"><block type="radio_datagram_send_value" id="dv/D3{RTWP-5Ca(|7u?U"><value name="name"><shadow type="text" id="/hHh@rbG4=.%fx%#nRV+"><field name="TEXT">Blue</field></shadow></value><value name="value"><shadow type="math_number" id="EoOzdkCk0myIdkSZ;8[0"><field name="NUM">0</field></shadow></value></block></statement></block><block type="bcOnEvent" id="HRJLAvljsS-F?[pzZ7)`" x="561" y="561"><field name="button">BCPins.Joystick</field><field name="event">BCEvents.Down</field><statement name="HANDLER"><block type="radio_datagram_send_value" id="@$Znj6E-q`2MCarCDam["><value name="name"><shadow type="text" id="[i17$yNds(c:rayYxGU`"><field name="TEXT">Joystick</field></shadow></value><value name="value"><shadow type="math_number" id="?JG[2d2xC;}Px.w/d+8e"><field name="NUM">1</field></shadow></value></block></statement></block><block type="bcOnEvent" id="yr^h+j;ny;PxK._B.Bla" x="921" y="559"><field name="button">BCPins.Joystick</field><field name="event">BCEvents.Up</field><statement name="HANDLER"><block type="radio_datagram_send_value" id=",X9x##,D4*Og[%T3BakD"><value name="name"><shadow type="text" id="Wn%!sMA8}/!cf=v4goD7"><field name="TEXT">Joystick</field></shadow></value><value name="value"><shadow type="math_number" id="m9m7I_mPMfZP?Y@BEwF$"><field name="NUM">0</field></shadow></value></block></statement></block></xml>