-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
1 lines (1 loc) · 6.63 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="z^Ip]tlCr?miNeG320=,">XRotation</variable><variable id="U_pEAYshfS#1Cj(KOmPq">TilfældigtTal</variable></variables><block type="device_button_event" id="s;UBqOhmIOS0/Ut.c_(t" x="-266" y="-3"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="radio_datagram_send_string" id="W4ANx;9?0M*Rh:e@J7m|"><value name="msg"><shadow type="text" id="[N_0FCybO|BR@/4}#qh~"><field name="TEXT">Ja</field></shadow></value></block></statement></block><block type="pxt-on-start" id="l!X4Z2T@V*Kh2_ETaC5I" x="0" y="0"><statement name="HANDLER"><block type="radio_set_group" id="h7g$]IEh+jJ?nR}7jQS0"><value name="ID"><shadow type="math_number_minmax" id="~f]K4zAL.x/umLf6m@(z"><mutation min="0" max="255" label="Id" precision="0"></mutation><field name="SLIDER">292</field></shadow></value><next><block type="radio_set_transmit_power" id="cMI,/@B4TimEHflx]B$F"><value name="power"><shadow type="math_number_minmax" id="29AJ,ALcJ3;LNkb;n`R9"><mutation min="0" max="7" label="Power" precision="0"></mutation><field name="SLIDER">7</field></shadow></value></block></next></block></statement></block><block type="function_definition" id="gOqB}4X5{XdgN40,||0%" x="-254" y="174"><mutation name="Hjerteslag" functionid="Ne~Q^V1NdZp9-UIqkhzF"></mutation><field name="function_name">Hjerteslag</field><statement name="STACK"><block type="basic_show_icon" id="47gtxs_BY)Ueo`T;5{H%"><field name="i">IconNames.Heart</field><next><block type="device_pause" id="U/V:0Gma}J(,_.u!.n!+"><value name="pause"><shadow type="timePicker" id="3*sVi*ai.A.UKx8}v+}*"><field name="ms">100</field></shadow></value><next><block type="device_clear_display" id="bNYgP#P6mRKVsi13BRGp"><next><block type="device_pause" id="!4MzM-]U}z^K?:,xmwZu"><value name="pause"><shadow type="timePicker" id="WnQjxN@gAm:qnV}_M]u`"><field name="ms">300</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type="device_forever" id="c4iPKLs`*b^C|n;|d0mK" x="124" y="463"><statement name="HANDLER"><block type="function_call" id="/Q@A/ZA$_VwJT{yjwIkQ"><mutation name="Ændrøjne" functionid="8pH(YBzG+LqY$`Mhsa7S"></mutation><next><block type="function_call" id="awS;!|Xfx)XDD/_fX@u3"><mutation name="Hjerteslag" functionid="Ne~Q^V1NdZp9-UIqkhzF"></mutation></block></next></block></statement></block><block type="function_definition" id="w}3[UAH/]rvU6JB6`+^Z" x="31" y="484"><mutation name="Ændrøjne" functionid="8pH(YBzG+LqY$`Mhsa7S"></mutation><field name="function_name">Ændrøjne</field><statement name="STACK"><block type="variables_set" id="m;:MlV(.5A9)=Dzy#Y~/"><field name="VAR" id="z^Ip]tlCr?miNeG320=,">XRotation</field><value name="VALUE"><shadow type="math_number" id="Aq}1ZeoEk]azC?]ru;I`"><field name="NUM">0</field></shadow><block type="math_op3" id="pttZ.tL5x^%4TO=@a?L/"><value name="x"><shadow type="math_number" id="}6rR!:q/5?Q.LlZX@-u7"><field name="NUM">0</field></shadow><block type="device_get_rotation" id="^uS{`FA{7dI$9qbG%;bK"><field name="NAME">Rotation.Pitch</field></block></value></block></value><next><block type="variables_set" id="Okf`8Gn$_.bW4cAOJ;k`"><field name="VAR" id="U_pEAYshfS#1Cj(KOmPq">TilfældigtTal</field><value name="VALUE"><shadow type="math_number" id="Z=Bpq35n%5~p4j#Ro5S}"><field name="NUM">0</field></shadow><block type="device_random" id="MHv?=yEHgLY[]F;NkAc3"><value name="min"><shadow type="math_number" id="Zzy#VK*7eWjEw4doY2(O"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="_f4Z!dm~0.gJ_8ink,I)"><field name="NUM">19</field></shadow></value></block></value><next><block type="controls_if" id="]XtQ(@|OXltIhU?DvJ4|"><value name="IF0"><shadow type="logic_boolean" id="LG}yK;0/~eO4cxq`)7ub"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="ZZy`^^cYE+N9Z70A}5AX"><field name="OP">LT</field><value name="A"><shadow type="math_number" id="EWVg^0N|vM=:WCd,nd:V"><field name="NUM">0</field></shadow><block type="variables_get" id="(6SkWoAvEgwb]A?)0yf?"><field name="VAR" id="U_pEAYshfS#1Cj(KOmPq">TilfældigtTal</field></block></value><value name="B"><shadow type="math_number" id="c/]81?1d-.ELHca}-Ee#"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="radio_datagram_send_string" id="Gzp)!8bs@=J9(AQuS,;("><value name="msg"><shadow type="text" id="S|o8x,vO={gJ9mQu9OGI"><field name="TEXT">Blink</field></shadow></value></block></statement><next><block type="controls_if" id="O^+N,R*e#pl{8{dFO)ju"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean" id="PnFZT.2GfOpR[t4px9MD"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="hq$qB%hFx7j=sslE{_|V"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="`=#.$t8P?x!2j:ZbOeVU"><field name="OP">GT</field><value name="A"><shadow type="math_number" id="IT-yjiHQO^3)dR/p?R~l"><field name="NUM">50</field></shadow><block type="variables_get" id="}SU|8?D=mK$[{G?e{g{s"><field name="VAR" id="z^Ip]tlCr?miNeG320=,">XRotation</field></block></value><value name="B"><shadow type="math_number" id=":Z%ifeS#ir=^tU5+O0oS"><field name="NUM">50</field></shadow></value></block></value><value name="B"><block type="logic_compare" id="|}A_Y_e3T4D`l{{C/.#a"><field name="OP">LT</field><value name="A"><shadow type="math_number" id="46@]A9`lbr_(=AtwDYhV"><field name="NUM">0</field></shadow><block type="variables_get" id="D^sdS4HhCi9|4AfMi/)n"><field name="VAR" id="z^Ip]tlCr?miNeG320=,">XRotation</field></block></value><value name="B"><shadow type="math_number" id="!2$cE$grBMoC:r/)QKQb"><field name="NUM">130</field></shadow></value></block></value></block></value><statement name="DO0"><block type="radio_datagram_send_string" id="Q6owcEzS{ik?G..H?fu."><value name="msg"><shadow type="text" id="a/*-}v8~UYH)5R,M@L_v"><field name="TEXT">Vågn</field></shadow></value></block></statement><statement name="ELSE"><block type="radio_datagram_send_string" id="q_l5TQAB]:xib/C}uK%U"><value name="msg"><shadow type="text" id="oABmtn@c5zGmKCV~{|/r"><field name="TEXT">Sov</field></shadow></value></block></statement><next><block type="device_pause" id="Q$+n[#+FK$:Hm;M55x@P"><value name="pause"><shadow type="timePicker" id="0i$?Szj^Y_h7hwDRVq7l"><field name="ms">100</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block><block type="device_gesture_event" id="}UCAv::^X)Mt_kO6d6S," x="-273" y="538"><field name="NAME">Gesture.Shake</field><statement name="HANDLER"><block type="radio_datagram_send_string" id="+x;Z#u}S*|gilt^o.!Ko"><value name="msg"><shadow type="text" id="w9NY{QEu|D(igr=w=]qj"><field name="TEXT">Ja</field></shadow></value></block></statement></block></xml>