-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 1.99 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="cNCpXui,8q``Ny%oYk.x">message</variable></variables><block type="device_forever" id="kOC@$v/S#N7J=3qroo/c" x="0" y="0"><statement name="HANDLER"><block type="variables_set" id="aEinr^3OnCV~NP@t-au|"><field name="VAR" id="cNCpXui,8q``Ny%oYk.x">message</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="pins_i2c_readnumber" id=".*@0*SpPf5rPcVbu|{#^"><field name="format">NumberFormat.Int8LE</field><value name="address"><shadow type="math_number" id=")}~tk5b{162ow/hhUu)H"><field name="NUM">95</field></shadow></value><value name="repeat"><shadow type="logic_boolean" id="R)0[744WBn}w[dF;]A3l"><field name="BOOL">FALSE</field></shadow></value></block></value><next><block type="controls_if" id="HUt#58!!46n;E7Q|:V]*"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="HIG,_#_3g4PluIy(]{FT"><field name="OP">NEQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="1Zp/N$X}k@_K(.uBO{Pj"><field name="VAR" id="cNCpXui,8q``Ny%oYk.x">message</field></block></value><value name="B"><shadow type="math_number" id="g);F6R`?d=HE`h*)Sc:["><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="serial_writeline" id="`B)/i:Cgo5!jZUFE:H!6"><value name="text"><shadow type="text"><field name="TEXT"/></shadow><block type="variables_get" id="wwIduZq44GONS=%/2N~~"><field name="VAR" id="cNCpXui,8q``Ny%oYk.x">message</field></block></value></block></statement></block></next></block></statement></block><block type="pxt-on-start" id="akQC/WwmQzM4P:e@q@.#" x="110" y="407"><statement name="HANDLER"><block type="device_show_leds" id="}JKr40w%w$lBxQ6/nOwN"><field name="LEDS">` . . . . . . . . . . . . . . . . . . . . . . . . . `</field></block></statement></block></xml>