-
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) · 4.56 KB
/
main.blocks
File metadata and controls
1 lines (1 loc) · 4.56 KB
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="_3+hjc!RJ}[E}W70.3u9">r</variable><variable id="2YWRqy]:(ZQ]|N*vUMYS">t</variable><variable id="h7GHq!+.KkcPIWk$?u$=">d</variable></variables><block type="pxt-on-start" id=";lHn(urzW27;R+@?kM%L" x="0" y="0"><statement name="HANDLER"><block type="device_print_message" id="v*RSU~g$)VY_BO_qnb-R"><value name="text"><shadow type="text" id="es*dld~*E4?|aitFOsvx"><field name="TEXT">Hello!</field></shadow></value><next><block type="device_set_brightness" id="arj]#T4`/ba$xkMN8OhU"><value name="value"><shadow type="math_number_minmax" id="ML)$CIj@Jn@Tr%|JV#-^"><mutation min="0" max="255" label="Value" precision="0"/><field name="SLIDER">64</field></shadow></value><next><block type="variables_set" id="4-6s/wvFp~mj~^gtr|#a"><field name="VAR" id="h7GHq!+.KkcPIWk$?u$=">d</field><value name="VALUE"><shadow type="math_number" id="srw966a4HU_3{{JV,VKa"><field name="NUM">1</field></shadow></value></block></next></block></next></block></statement></block><block type="device_forever" id="S,.sSD)LREBYxAdi@-KQ" x="451" y="93"><statement name="HANDLER"><block type="variables_set" id="(1OhMW+z9SZWwFoG73w9"><field name="VAR" id="2YWRqy]:(ZQ]|N*vUMYS">t</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_temperature" id="3G57C6.mYbp},RS,_4PB"/></value><next><block type="device_set_analog_pin" id="psm8?MmSX-A%NvKIV,#p"><field name="name">AnalogPin.P1</field><value name="value"><shadow type="math_number_minmax" id="OP:!K5|`CSW~E~cu7fDP"><mutation min="0" max="1023" label="Value" precision="0"/><field name="SLIDER">1023</field></shadow></value><next><block type="variables_set" id="ZL*f(B6VK}-iRih4t7b{"><field name="VAR" id="_3+hjc!RJ}[E}W70.3u9">r</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_analog_pin" id=")c~{Ie~)bKQj[zknQ)66"><field name="name">AnalogPin.P0</field></block></value><next><block type="device_set_analog_pin" id="LNKTu.M_hMi5(*~Ksn1I"><field name="name">AnalogPin.P1</field><value name="value"><shadow type="math_number_minmax" id="k/aG.SJ]kj@$%@eUq;RB"><mutation min="0" max="1023" label="Value" precision="0"/><field name="SLIDER">0</field></shadow></value><next><block type="controls_if" id="*xO^aQvXK*d~rxo^.QM]"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="device_get_button2" id="asRcchJOuc5dfmFwOiAH"><field name="NAME">Button.A</field></block></value><statement name="DO0"><block type="device_print_message" id="kbis~h99V5`1)Id9b20P"><value name="text"><shadow type="text"><field name="TEXT">Hello!</field></shadow><block type="variables_get" id="wEt!!PQ2Bi7!obh7V(F!"><field name="VAR" id="2YWRqy]:(ZQ]|N*vUMYS">t</field></block></value><next><block type="device_print_message" id="$[rSsz=k8_dNl5v3#Y)M"><value name="text"><shadow type="text"><field name="TEXT">Hello!</field></shadow><block type="variables_get" id="fzzjQs[6ykH3GxnxPw4y"><field name="VAR" id="_3+hjc!RJ}[E}W70.3u9">r</field></block></value><next><block type="device_pause" id="Q=Bfn:H@p9|Ls:n%euH#"><value name="pause"><shadow type="timePicker" id="F#%NU6Ry;p)I[2PKRuC|"><field name="ms">5000</field></shadow></value></block></next></block></next></block></statement><next><block type="serial_writestring" id="e0!_Op%f1?5%9wkN4)m+"><value name="text"><shadow type="text"><field name="TEXT"/></shadow><block type="text_join" id="J1~+a!.,0wN|kgFgE:Zg" inline="false"><mutation items="5"/><value name="ADD0"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="5rX7X2^gV2%7A3#I](MO"><field name="VAR" id="h7GHq!+.KkcPIWk$?u$=">d</field></block></value><value name="ADD1"><shadow type="text" id="kp=Oi].2Ppg*}w1TSTJD"><field name="TEXT">:</field></shadow></value><value name="ADD2"><shadow type="text"><field name="TEXT"/></shadow><block type="variables_get" id="E{:I8%H7X#(r`?%_WNvD"><field name="VAR" id="_3+hjc!RJ}[E}W70.3u9">r</field></block></value><value name="ADD3"><shadow type="text" id="*;~me;N3FcW^jk40jV6b"><field name="TEXT">:</field></shadow></value><value name="ADD4"><shadow type="text"><field name="TEXT"/></shadow><block type="variables_get" id="|?:x5z)R*iI{?oz:?(:]"><field name="VAR" id="2YWRqy]:(ZQ]|N*vUMYS">t</field></block></value></block></value><next><block type="device_pause" id="D,Gy?-MuE]u,UDZ8vem_"><value name="pause"><shadow type="timePicker" id="9,pwzfiVWK#HB}+pJd+K"><field name="ms">5000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>