-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.xml
More file actions
2 lines (2 loc) · 6.24 KB
/
project.xml
File metadata and controls
2 lines (2 loc) · 6.24 KB
1
2
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable type="Number" id=":nalqX#$rC2{399xAmET">num</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="-2093" y="-1496"><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_number" id="O+KiFbW%CV~VvD8@2#7Q"><field name="VAR" id=":nalqX#$rC2{399xAmET" variabletype="Number">num</field><comment pinned="false" h="90" w="460">This block sets the value the variable is storing. This variable will store number only.</comment><value name="VALUE"><block type="math_number" id="$z`p:lFGsyyMm@xs3?Rc"><field name="NUM">33</field></block></value><next><block type="control_if" id="hXb`Lr~~CKUR$B$|tI_v"><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="math_number_property" id="(~r2=X|D6GAS;Z}(;(+-"><mutation divisor_input="false"></mutation><field name="PROPERTY">EVEN</field><value name="NUMBER_TO_CHECK"><block type="math_number" id="VeYo!5fK#:rb14rP]cbb"><field name="NUM">3</field></block></value></block></value><statement name="DO0"><block type="arduino_send_message" id="Q1(~qYp;686erI$rN0^D"><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="R8WJ99(lwm@jFSrNo{?r"><field name="TEXT">Should Skip</field></block></value></block></statement><next><block type="control_if" id="qDD$=w@G37FVYK,GE-ix"><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="math_number_property" id="7Hwv;.;Sn0NF;F$a_?:x"><mutation divisor_input="false"></mutation><field name="PROPERTY">ODD</field><value name="NUMBER_TO_CHECK"><block type="variables_get_number" id="f9KA5[YozRP0:[]6%XSt"><field name="VAR" id=":nalqX#$rC2{399xAmET" variabletype="Number">num</field><comment pinned="false" h="80" w="460">This block gets the value that the variable is storing. This variable store a number.</comment></block></value></block></value><statement name="DO0"><block type="arduino_send_message" id="upuCN?31B+M!z}J{QO0J"><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="-%aFmmW(HmB-MxWO*et#"><field name="TEXT">Works</field></block></value></block></statement><next><block type="control_if" id="Sv{#u}wQue5BRpG(R_{t"><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="math_number_property" id="yFJl=%a,4O84rZ!)6mU-"><mutation divisor_input="false"></mutation><field name="PROPERTY">POSITIVE</field><value name="NUMBER_TO_CHECK"><block type="math_number" id=".0KI@ZlVNCVmrJmE9OJ^"><field name="NUM">3</field></block></value></block></value><statement name="DO0"><block type="arduino_send_message" id="7Pk}yR6)7^OAVNC//==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="))yPa3~kVuA59N.rOG_v"><field name="TEXT">Works</field></block></value></block></statement><next><block type="control_if" id="]ss20t%8E5.2XrHsId7S"><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="math_number_property" id="_x^?#pp[74mB30fs7d{J"><mutation divisor_input="false"></mutation><field name="PROPERTY">NEGATIVE</field><value name="NUMBER_TO_CHECK"><block type="variables_get_number" id="_E,q#qhhVj:W^g+0Dn_J"><field name="VAR" id=":nalqX#$rC2{399xAmET" variabletype="Number">num</field><comment pinned="false" h="80" w="460">This block gets the value that the variable is storing. This variable store a number.</comment></block></value></block></value><statement name="DO0"><block type="arduino_send_message" id="loC?p0?#^*Z^*S[a89uM"><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="}.eePtW,XU7Io8%Le[J`"><field name="TEXT">Should Skip</field></block></value></block></statement><next><block type="control_if" id="!0n9_PN=+w]@ovQ3`P55"><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="math_number_property" id="bH!^KEc$pbik4pRB_7h|"><mutation divisor_input="true"></mutation><field name="PROPERTY">DIVISIBLE_BY</field><value name="NUMBER_TO_CHECK"><block type="math_number" id="[h1H!edfYkJ9SNWT]-LH"><field name="NUM">3</field></block></value><value name="DIVISOR"><block type="math_number" id="R9X+b@u!#F^Jf0-F[cIP"><field name="NUM">12</field></block></value></block></value><statement name="DO0"><block type="arduino_send_message" id="F2;z;OM#y^N{;UK-~WvM"><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="jwx7k4yvd$fx5iP7z*B:"><field name="TEXT">Works</field></block></value></block></statement><next><block type="delay_block" id="G)/H5LazdwzQc[:uqTse"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id="iFUI9O0Xm|R%u}Z7xWVJ"><field name="NUM">2</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>