-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 4.22 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="C.x(^scLm{6!Nu:Kn[d)">siffra</variable></variables><block type="pxt-on-start" id="m^;7a7x2%#UMOl+x5@oA" x="0" y="0"><statement name="HANDLER"><block type="radio_set_group" id="^BfH`j/IY,4PAc.a_+9K"><value name="ID"><shadow type="math_number_minmax" id="Ct#}M5)tNIXLkH1fit=Q"><mutation min="0" max="255" label="Id" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="ringbitcar_init" id="9A~DGPx]BJU{riqmT}Cb"><field name="left">AnalogPin.P1</field><field name="right">AnalogPin.P2</field><next><block type="variables_set" id="pB0K$92mIl1Rp?Hd1ue?"><field name="VAR" id="C.x(^scLm{6!Nu:Kn[d)">siffra</field><value name="VALUE"><shadow type="math_number" id="!6!]QNTi{JsU`WKFc0C~"><field name="NUM">0</field></shadow></value></block></next></block></next></block></statement></block><block type="device_forever" id="/#AiI*x$Pr.:YA+D#;Pa" x="713" y="33"></block><block type="device_button_event" id="1B**Jo,.;vTC,w(wY?=G" x="71" y="241"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="controls_if" id="SGx,rlT.Xk_EPv@Gy8[#"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="cjys;bxWX2aPMy/ZRL.d"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=":~9K`bNR~#o!.pHG7upO"><field name="VAR" id="C.x(^scLm{6!Nu:Kn[d)">siffra</field></block></value><value name="B"><shadow type="math_number" id="sgJiGE`g]:Z5,_c.t0Nc"><field name="NUM">4</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="TF2k?KcEtMnpOca_y;Zc"><field name="VAR" id="C.x(^scLm{6!Nu:Kn[d)">siffra</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="=lOGS#H]b5-yeK:V`)=/"><field name="OP">ADD</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="variables_get" id="ApmF^0tkYNGiY2idVcgh"><field name="VAR" id="C.x(^scLm{6!Nu:Kn[d)">siffra</field></block></value><value name="B"><shadow type="math_number" id="1k5N4(=e[lmt5O*1=34Y"><field name="NUM">1</field></shadow></value></block></value></block></statement><statement name="ELSE"><block type="variables_set" id="m1x9!|#10.(ln.Q02GM@"><field name="VAR" id="C.x(^scLm{6!Nu:Kn[d)">siffra</field><value name="VALUE"><shadow type="math_number" id="%zHojNlx]]63tJ5c`;lp"><field name="NUM">1</field></shadow></value></block></statement><next><block type="device_show_number" id="lF.rIB78~a2;_RMjXH2A"><value name="number"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="9M}(^qc4~S8Q}~Q`Ru@r"><field name="VAR" id="C.x(^scLm{6!Nu:Kn[d)">siffra</field></block></value></block></next></block></statement></block><block type="device_button_event" id="@#S.1S(z^|`|eMNbZ-hY" x="555" y="241"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="radio_datagram_send" id="oxhM-P(jQxF.r;Z](=7_"><value name="value"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="%5J~efEC5jxJyL|j:75f"><field name="VAR" id="C.x(^scLm{6!Nu:Kn[d)">siffra</field></block></value></block></statement></block><block type="radio_on_number_drag" id="5R1QkO!4ru1lDaMU2I}z" x="553" y="404"><value name="HANDLER_DRAG_PARAM_receivedNumber"><shadow type="argument_reporter_number" id="rHeS3.j)4G~z9Fg_QiW="><field name="VALUE">receivedNumber</field></shadow></value><statement name="HANDLER"><block type="variables_set" id=".@3cH;?kMGmk3[e#k~Q#"><field name="VAR" id="C.x(^scLm{6!Nu:Kn[d)">siffra</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="n+`51oHY})#Hk5!]n)I~"><field name="VALUE">receivedNumber</field></block></value><next><block type="device_show_number" id="!)-Db%gYf~KJ=d4:AoRQ"><value name="number"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="z`94!8kyOBfsii%610mp"><field name="VAR" id="C.x(^scLm{6!Nu:Kn[d)">siffra</field></block></value></block></next></block></statement></block></xml>