-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.blocks
More file actions
1 lines (1 loc) · 5.7 KB
/
main.blocks
File metadata and controls
1 lines (1 loc) · 5.7 KB
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="FM*2NhK,nor!Cs(Vv_f(">reading</variable><variable id="sZ7Qp;T?)/0D14i1q*=-">degrees</variable></variables><block type="device_button_event" id="xKM}4MH/(lvf(*IfjSTZ" x="30" y="-214"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="device_show_number" id="#8%8cQB5pgGT}GT(QYhG"><value name="number"><block type="device_temperature" id=",#^Hfz{D~fZu.bBH{`H("></block></value></block></statement></block><block type="device_button_event" id="Tp7]FHb,3e{h^Cx5MA2]" x="541" y="-147"><field name="NAME">Button.AB</field><statement name="HANDLER"><block type="variables_set" id="-Ld.TClOy}Hgd(V(`[=["><field name="VAR" id="FM*2NhK,nor!Cs(Vv_f(">reading</field><value name="VALUE"><shadow type="math_number" id=",Q?)v)`9k5[x3eEzBD3L"><field name="NUM">0</field></shadow><block type="device_get_light_level" id="hbGueVH%q%b*^ih;#|Oa"></block></value><next><block type="device_plot_bar_graph" id="bpq.6v1,%~-qF.,A!AyG"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="true"></mutation><value name="value"><block type="variables_get" id="l#!)pORAB|.wo4Tj?)2+"><field name="VAR" id="FM*2NhK,nor!Cs(Vv_f(">reading</field></block></value><value name="high"><shadow type="math_number" id="rBb_$6n|w{~^PaEf4[.9"><field name="NUM">255</field></shadow></value><next><block type="controls_if" id="[Y,dz4J:+QP-XpTJQl@`"><value name="IF0"><shadow type="logic_boolean" id="$5C;XXs[8rnW[FB^l)DE"><field name="BOOL">TRUE</field></shadow><block type="device_get_button2" id="q|,e.XNS.]:SJKfjsv55"><field name="NAME">Button.A</field></block></value><statement name="DO0"><block type="device_show_number" id="j=br_ei{%+dk#Mcouj34"><value name="number"><block type="variables_get" id="oHM7nQ5?nmb!$i9qT[bg"><field name="VAR" id="FM*2NhK,nor!Cs(Vv_f(">reading</field></block></value></block></statement></block></next></block></next></block></statement></block><block type="device_button_event" id=",!P^eNA2@49m6ah^O*.}" x="0" y="0"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="variables_set" id="1iByJ}zW$vc0(P?vu=P@"><field name="VAR" id="sZ7Qp;T?)/0D14i1q*=-">degrees</field><value name="VALUE"><shadow type="math_number" id="##Se`uMBGG8Al=]2BaZ1"><field name="NUM">0</field></shadow><block type="device_heading" id="*8fLJEF%DKweXJsru5*K"></block></value><next><block type="controls_if" id="8:HBB[ujV!%#c#Ka[fG]"><mutation elseif="3" else="1"></mutation><value name="IF0"><shadow type="logic_boolean" id="0!f}G$_iwJ,c5(JY1;`x"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="F7t-S:QHQd3#0Pqi#EAX"><field name="OP">LT</field><value name="A"><shadow type="math_number" id="9mdXdhV)c..x2(n$Qe0H"><field name="NUM">0</field></shadow><block type="variables_get" id="{[163I1+9[2Ng-9:A#!$"><field name="VAR" id="sZ7Qp;T?)/0D14i1q*=-">degrees</field></block></value><value name="B"><shadow type="math_number" id="Xa5Ps^mX*bXd^ZhyqSI-"><field name="NUM">45</field></shadow></value></block></value><statement name="DO0"><block type="device_print_message" id="OVh(s4M9a%,o/{8ZgL1*"><value name="text"><shadow type="text" id="BQ#jnu*W,3Bz9/~(K;{N"><field name="TEXT">N</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean" id="SBzKnVwuuV8c6lEC]zH("><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="kbXm2./OEjsgS0*$XIOE"><field name="OP">LT</field><value name="A"><shadow type="math_number" id="!QFf[NXaZ9TYc2[KQ[%w"><field name="NUM">0</field></shadow><block type="variables_get" id="U^YT[]#%v55z.2#BK-*J"><field name="VAR" id="sZ7Qp;T?)/0D14i1q*=-">degrees</field></block></value><value name="B"><shadow type="math_number" id="@4~sCSLDbe(=VJ!A;u_i"><field name="NUM">135</field></shadow></value></block></value><statement name="DO1"><block type="device_print_message" id="$@?zygh._lCiK]5%Q6pl"><value name="text"><shadow type="text" id="IxAyhr]]@HgZ!k!xlB{b"><field name="TEXT">E</field></shadow></value></block></statement><value name="IF2"><shadow type="logic_boolean" id="I]f-.cs}g;7V/Dl/E2KT"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="msUHN[z#z5Y|wp.7#U5Z"><field name="OP">LT</field><value name="A"><shadow type="math_number" id="A))]:2Lg2sp`A8J3v[md"><field name="NUM">0</field></shadow><block type="variables_get" id="vuy$YU%@E%2e}PyHk!~B"><field name="VAR" id="sZ7Qp;T?)/0D14i1q*=-">degrees</field></block></value><value name="B"><shadow type="math_number" id="l;D/Tuv~|G2EMz3j5bx,"><field name="NUM">225</field></shadow></value></block></value><statement name="DO2"><block type="device_print_message" id="0`+(hcD-[[4BWGKWpsW]"><value name="text"><shadow type="text" id="_JbuI7Uht{qqIiQz!7%E"><field name="TEXT">S</field></shadow></value></block></statement><value name="IF3"><shadow type="logic_boolean" id="4,d{0?]i(,*m8(YIKe_W"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="Hds#;{nS[Ue}L1a$4!}x"><field name="OP">LT</field><value name="A"><shadow type="math_number" id="78;zm|E~)Ry3UNArMZM."><field name="NUM">0</field></shadow><block type="variables_get" id=",~B:v-D2Uq2^wdwVF!,j"><field name="VAR" id="sZ7Qp;T?)/0D14i1q*=-">degrees</field></block></value><value name="B"><shadow type="math_number" id="MrebQ]?2ThU]xcSiB7Do"><field name="NUM">315</field></shadow></value></block></value><statement name="DO3"><block type="device_print_message" id="*9MWcu}Jm3}QFuXO7efO"><value name="text"><shadow type="text" id="5?]:/:W@W_ecguN|?[Se"><field name="TEXT">W</field></shadow></value></block></statement><statement name="ELSE"><block type="device_print_message" id="1R+#-=^w5%D~R.R|0Skt"><value name="text"><shadow type="text" id="2pQ0QTl0U^f89at5L[KP"><field name="TEXT">N</field></shadow></value></block></statement></block></next></block></statement></block></xml>