-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.xml
More file actions
3 lines (3 loc) · 3.68 KB
/
project.xml
File metadata and controls
3 lines (3 loc) · 3.68 KB
1
2
3
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable type="String" id="h)!1m;?C9*Lr.?QXQYwb">full</variable></variables><block type="message_setup" id="t@EV)i+}oaEqNQWnMD$i" x="-2086" y="-1684"><field name="LOOP">1</field><field name="receiving_message">TRUE</field><field name="message">Hello World :)</field><field name="COPY_SAME">FALSE</field><comment pinned="false" h="100" w="460">This block allows you to send messages from the Arduino and the Arduino to send your computer messages.</comment><data>[{"receiving_message":true,"message":"Hello World :)","loop":1,"blockName":"message_setup"}]</data></block><block type="arduino_loop" id="sOT,`O?d(f(AK=:ltWi-" deletable="false" x="-2081" y="-1506"><field name="LOOP_TIMES">3</field><comment pinned="false" h="170" w="460">The void loop function runs over and over again forever</comment><statement name="loop"><block type="variables_set_string" id="ys,!v)ua==6h}7qk+p/X"><field name="VAR" id="h)!1m;?C9*Lr.?QXQYwb" variabletype="String">full</field><comment pinned="false" h="90" w="460">This block sets the value the variable is storing. This variable will store text only.</comment><value name="VALUE"><block type="text" id="PrXB/V/TUXEEx^)Suh!]"><field name="TEXT">abc</field></block></value><next><block type="control_if" id="5uUA_%ShVAq)gJSkgbI*"><comment pinned="false" h="150" w="460">The if statement checks a condition and executes the following block of code if the condition is true.</comment><value name="IF0"><block type="text_isEmpty" id="pKhWURi$mOcfM%(tfjtW"><comment pinned="false" h="60" w="460">Returns true if nothing is inside the text block.</comment><value name="VALUE"><block type="text" id="8lwTdpk:$a-3GF3iFqh]"><field name="TEXT"></field></block></value></block></value><statement name="DO0"><block type="arduino_send_message" id="Yp5be?vdCv7*,{T-$0}8"><comment pinned="false" h="80" w="460">This block will send a message from the Arduino to the computer.</comment><value name="MESSAGE"><block type="text" id="1F75uE`/xcpry]O=R#I2"><field name="TEXT">works</field></block></value><next><block type="delay_block" id="OlMdg}|{[@+A|.61DaF2"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id="Y^P+Qoc|{-0aq%K26Ifo"><field name="NUM">2</field></block></value></block></next></block></statement><next><block type="control_if" id="IBS)PUUu{H$49p}ZZD.w"><comment pinned="false" h="150" w="460">The if statement checks a condition and executes the following block of code if the condition is true.</comment><value name="IF0"><block type="text_isEmpty" id="yAjBgEn[t;8.cX-l@GWN"><comment pinned="false" h="60" w="460">Returns true if nothing is inside the text block.</comment><value name="VALUE"><block type="variables_get_string" id=".!MaZjHi??Sfv%p0_mJN"><field name="VAR" id="h)!1m;?C9*Lr.?QXQYwb" variabletype="String">full</field><comment pinned="false" h="80" w="460">This block gets the value that the variable is storing. This variable store a text.</comment></block></value></block></value><statement name="DO0"><block type="arduino_send_message" id="_f!^H{~GP])Ax(UN3z|Z"><comment pinned="false" h="80" w="460">This block will send a message from the Arduino to the computer.</comment><value name="MESSAGE"><block type="text" id="]zDaj`byn?#+uo97W-tF"><field name="TEXT">not working</field></block></value><next><block type="delay_block" id="*%.|E={ltB@Xw^t.CBwQ"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id=",zpnGjN2u].O}A/2CNJ|"><field name="NUM">2</field></block></value></block></next></block></statement></block></next></block></next></block></statement></block></xml>