-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.blocks
1 lines (1 loc) · 6.85 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="lmrc`2^YzsD]hB,5f(;n">angle</variable><variable id="LdjXU#)YAcLj-.$di_Wb">x</variable><variable id="}1Z4Gjvy.$xsVFQC%r;K">y</variable></variables><block type="pxt-on-start" id="58D{*UI|J`tOQ}TJt5k[" x="0" y="0"><statement name="HANDLER"><block type="radio_set_group" id="QxKS*@BL$byA;!-AP*uo"><value name="ID"><shadow type="math_number_minmax" id="7;6)iu)#,}FCiuv{xeR0"><mutation min="0" max="255" label="Number" precision="0"/><field name="SLIDER">1</field></shadow></value><next><block type="radio_set_transmit_power" id="ev4wt]MIb7#c9%FFhR/Q"><value name="power"><shadow type="math_number_minmax" id="=$.9g2HtAxXZ$#Pa*3u?"><mutation min="0" max="7" label="Number" precision="0"/><field name="SLIDER">7</field></shadow></value><next><block type="basic_show_icon" id="sch`2{td$h69eSVs[V@{"><field name="i">IconNames.Heart</field></block></next></block></next></block></statement></block><block type="device_forever" id="5f:.k#Eq6CCM%{tVD)!7" x="415" y="-11"><statement name="HANDLER"><block type="controls_if" id="BI7o!S17mJQoxhDGfknZ"><mutation elseif="1" else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="GHBit_Button" id="U({@yX^gRNjk6N!C-MIq"><field name="num">GHBit.enButton.B1</field><field name="value">GHBit.enButtonState.Press</field></block></value><statement name="DO0"><block type="variables_set" id="#z2y=dpR[qeUj^fwR(aO"><field name="VAR" id="lmrc`2^YzsD]hB,5f(;n">angle</field><value name="VALUE"><shadow type="math_number" id=",0,Z4n*;sl`p#LdO@j-M"><field name="NUM">-1</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="GHBit_Button" id="/U%u*E*iMeL$L?N3vN|#"><field name="num">GHBit.enButton.B4</field><field name="value">GHBit.enButtonState.Press</field></block></value><statement name="DO1"><block type="variables_set" id="1cL(~4JN78ghep[(n%j5"><field name="VAR" id="lmrc`2^YzsD]hB,5f(;n">angle</field><value name="VALUE"><shadow type="math_number" id="t(Z16y_0k|POcg#pZx^~"><field name="NUM">1</field></shadow></value></block></statement><statement name="ELSE"><block type="variables_set" id="Cu]b`GGJ83z9X-ars4v#"><field name="VAR" id="lmrc`2^YzsD]hB,5f(;n">angle</field><value name="VALUE"><shadow type="math_number" id="-G+L.Dw}Aar%J1]q9wy]"><field name="NUM">0</field></shadow></value></block></statement><next><block type="radio_datagram_send_value" id="yL4hYL:RQ4T@:SIwF^u?"><value name="name"><shadow type="text" id="f6KK.H;0Yz(U{7*%fjUI"><field name="TEXT">a</field></shadow></value><value name="value"><block type="variables_get" id="H?e[1My:`CgxOez;;{81"><field name="VAR" id="lmrc`2^YzsD]hB,5f(;n">angle</field></block></value><next><block type="controls_if" id="ijfoVIrD[oJ_%rb6/gs@"><mutation elseif="1" else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="GHBit_Button" id=".*dpm{;E~~#3#3@`ZL3g"><field name="num">GHBit.enButton.B2</field><field name="value">GHBit.enButtonState.Press</field></block></value><statement name="DO0"><block type="variables_set" id="~@Lf=@1:7qH#ksKWJ69;"><field name="VAR" id="LdjXU#)YAcLj-.$di_Wb">x</field><value name="VALUE"><shadow type="math_number" id="bSU[5x{+0woxOJ~}RZR$"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="D-IpRFE^,_S%Xo.d4GZh"><field name="VAR" id="}1Z4Gjvy.$xsVFQC%r;K">y</field><value name="VALUE"><shadow type="math_number" id="_$iwPD1OgkCB52@4Nt{5"><field name="NUM">512</field></shadow></value></block></next></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="GHBit_Button" id="UJ[o(+mEyb|(?xdD~F(p"><field name="num">GHBit.enButton.B3</field><field name="value">GHBit.enButtonState.Press</field></block></value><statement name="DO1"><block type="variables_set" id="?bcsBl|{(~MDk=TTOquz"><field name="VAR" id="LdjXU#)YAcLj-.$di_Wb">x</field><value name="VALUE"><shadow type="math_number" id="286E9H9kGBvnp_`$K:a|"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="{Yhh6OaQq+v.a/Q=pzp5"><field name="VAR" id="}1Z4Gjvy.$xsVFQC%r;K">y</field><value name="VALUE"><shadow type="math_number" id="|Fz$U3HRx0%mKRhSr1+M"><field name="NUM">-512</field></shadow></value></block></next></block></statement><statement name="ELSE"><block type="variables_set" id="{-X0HCc4S!0E6O[Qn)n4"><field name="VAR" id="LdjXU#)YAcLj-.$di_Wb">x</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="6]-euI+_n7co}jnnwab="><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="eD2d$kRI^g[T],Y_]uZ|"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="7/3Y;8bg5Vo_XQP+^:dU"><field name="NUM">0</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_analog_pin" id="UP!;qc1i_.gU=-6US!0/"><field name="name">AnalogPin.P2</field></block></value></block></value><value name="B"><shadow type="math_number" id="CX.{xX!,^)7HjU0[Bn[a"><field name="NUM">512</field></shadow></value></block></value><next><block type="variables_set" id="d1$uOZ-:KnTo51q-G?vE"><field name="VAR" id="}1Z4Gjvy.$xsVFQC%r;K">y</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="]@9cJ-v{7kK-|P{P[4uU"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="08Y*fuu)0T[=}jr!{Nb7"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="0=xqh96CZ71^J{{mK_]w"><field name="NUM">0</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_analog_pin" id="1#_5+f:GxCJ45ve(?o~M"><field name="name">AnalogPin.P1</field></block></value></block></value><value name="B"><shadow type="math_number" id="8eRYJ:_}F!]]MzKy+PO#"><field name="NUM">512</field></shadow></value></block></value></block></next></block></statement><next><block type="radio_datagram_send_value" id="7)LYT6e,0wu:@e.xv.AW"><value name="name"><shadow type="text" id="S[Q5|dBLg+NsAw|cXf3X"><field name="TEXT">x</field></shadow></value><value name="value"><block type="variables_get" id="qm_u)x]KorM(1y?qw5,J"><field name="VAR" id="LdjXU#)YAcLj-.$di_Wb">x</field></block></value><next><block type="radio_datagram_send_value" id=":SJ($UJaBneBG:fRim0c"><value name="name"><shadow type="text" id="8{ht,+[Z^Wvj~h=a0DbT"><field name="TEXT">y</field></shadow></value><value name="value"><block type="variables_get" id="S)+rim+549hA5Ex}WD(V"><field name="VAR" id="}1Z4Gjvy.$xsVFQC%r;K">y</field></block></value></block></next></block></next></block></next></block></next></block></statement></block></xml>