-
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) · 3.33 KB
/
main.blocks
File metadata and controls
1 lines (1 loc) · 3.33 KB
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="2to7DgW8jXR_m?PUm=e{">val</variable></variables><block type="device_button_event" id="8LzV8,lmw}Zf9gLM^~!L" x="10" y="-182"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="variables_set" id="S9rSx]lgq/nk~$HOWvq5"><field name="VAR" id="2to7DgW8jXR_m?PUm=e{">val</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="W{lYwz`_1C0!Wp_Fs{po"><value name="min"><shadow type="math_number" id="/@C2[hfNGE,Mh2[C^w::"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="^:[{ZP*BMnV.g-v$/%v?"><field name="NUM">2</field></shadow></value></block></value></block></statement></block><block type="device_forever" id="k;y5-Oh9](Ya_7C(ZU/O" x="422" y="-79"><statement name="HANDLER"><block type="controls_if" id="a81/deEaxW@wvYhe4?(Y"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="sz5(Y7cYy}U`a$jNZ-@}"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="L1n5,+MSUF`Ladqp#gHH"><field name="VAR" id="2to7DgW8jXR_m?PUm=e{">val</field></block></value><value name="B"><shadow type="math_number" id="2|9{:,e)rVK7K#DQsUYG"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="basic_show_icon" id="k6~2+rSA4gT^_4mm](c#"><field name="i">IconNames.Scissors</field></block></statement><next><block type="controls_if" id="vk/?HYc6_P4oaYU{X`Bx"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="[P$jby6|7~H,nKP{dr_B"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=").0*X2K#r8Rxm]T;MAXd"><field name="VAR" id="2to7DgW8jXR_m?PUm=e{">val</field></block></value><value name="B"><shadow type="math_number" id="G|SlzG]7x_yC%WzV-(3i"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="basic_show_icon" id="c|)k/CKbrk?@fpeQ^Krj"><field name="i">IconNames.Square</field></block></statement><next><block type="controls_if" id="UyO#ko2i,%pCCl6lNn?I"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="NJR_Y]yiuYwZK`$Lm*5d"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="RsJ+Th*#{D3GQaRhb:{*"><field name="VAR" id="2to7DgW8jXR_m?PUm=e{">val</field></block></value><value name="B"><shadow type="math_number" id="U7TZcT!m-M}$!f0xX-UN"><field name="NUM">2</field></shadow></value></block></value><statement name="DO0"><block type="basic_show_icon" id="Ek}I0=}b:|[.R?^nZT1{"><field name="i">IconNames.Butterfly</field></block></statement></block></next></block></next></block></statement></block><block type="pxt-on-start" id="Uc|]mANk~2-qW|K.o6DP" x="0" y="0"><statement name="HANDLER"><block type="device_set_brightness" id=".D#Qf8T+)g*#14+X`Dk$"><value name="value"><shadow type="math_number_minmax" id="n{.Adefha-eO8R{v^g*k"><mutation min="0" max="255" label="Value" precision="0"></mutation><field name="SLIDER">100</field></shadow></value></block></statement></block></xml>