-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.xml
More file actions
6 lines (6 loc) · 3.11 KB
/
project.xml
File metadata and controls
6 lines (6 loc) · 3.11 KB
1
2
3
4
5
6
<xml xmlns="https://developers.google.com/blockly/xml"><block type="rgb_led_setup" id="z}~$S/Z=U?JbqAHx`A;;" x="-632" y="-315"><field name="NUMBER_OF_COMPONENTS">1</field><field name="PIN_RED_1">11</field><field name="PIN_GREEN_1">10</field><field name="PIN_BLUE_1">9</field><field name="PIN_RED_2">6</field><field name="PIN_GREEN_2">5</field><field name="PIN_BLUE_2">3</field><comment pinned="false" h="100" w="460">This block tells the Arduino which pin to use for each color. RGB stands for red, green, and blue. By combining colors, you can make other colors.</comment></block><block type="arduino_loop" id="%6ifx=uc(q[=:jY#C9]z" deletable="false" x="-642" y="-115"><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="set_simple_color_led" id="da_wx!X7o?PW[eJ7x7LS"><field name="WHICH_COMPONENT">1</field><field name="COLOR">#ff0000</field><next><block type="delay_block" id="nY:y-YfGv+%~|BZEoGCs"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id="AnyFRE$tQVY$*+S[rvBk"><field name="NUM">2</field></block></value><next><block type="set_simple_color_led" id="_-aBl;4VWe4[URcye7S5"><field name="WHICH_COMPONENT">1</field><field name="COLOR">#00ff00</field><next><block type="delay_block" id="EU3Bcj*O,Y,?e#,#nGW~"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id="I|a!B+j9Iyz2,fh[oE_8"><field name="NUM">2</field></block></value><next><block type="set_simple_color_led" id="LCEF8`@wo.1{;zjL{95m"><field name="WHICH_COMPONENT">1</field><field name="COLOR">#0000ff</field><next><block type="delay_block" id="gBi0`XkTv|3j|c(#bKba"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id=".JF5*P:EDi~4@/!F|Qf@"><field name="NUM">2</field></block></value><next><block type="set_simple_color_led" id="}2wk,2uD8MBv3O_cuow."><field name="WHICH_COMPONENT">1</field><field name="COLOR">#000000</field><next><block type="delay_block" id="3fJ;XfRkXYw:U]c#gjZ-"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id="eCxs;(EmXcx7ryu.5}Sx"><field name="NUM">2</field></block></value><next><block type="set_color_led" id="p1XrJ6+.J7PiZ}SHI|MP"><field name="WHICH_COMPONENT">1</field><comment pinned="false" h="130" w="460">Set the RGB LED colour.</comment><value name="COLOR"><block type="color_picker_custom" id="=!usBtZKsZVU!MQrn%H*"><field name="COLOR">#ff5e00</field></block></value><next><block type="delay_block" id="abs3lnrF7JWP_F,5.]@Q"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id=",{jGr6Z+WVA!@#2|lH2m"><field name="NUM">2</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>