初始化提交

This commit is contained in:
王立帮
2024-07-19 10:16:00 +08:00
parent 4c7b571f20
commit 4a2d56dcc4
7084 changed files with 741212 additions and 63 deletions

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="5st)k?W=^aVnD=p@p+dd" x="-278" y="106"><field name="VALUE">串口交互\nD9连接红色LEDD10连接黄色LEDD11连接绿色LED。\n输入R,点亮红色LED输入Y点亮黄色LED输入G点亮绿色LED。</field><next><block type="serial_begin" id="R:2=0(.l/OsyYIFHH,~;"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="/$6|]rGt4z!]m#ybD|AT"><field name="NUM">9600</field></shadow></value><next><block type="variables_declare" id="pHZn*U]cX2909+[d2P5l"><field name="variables_type">global_variate</field><field name="VAR">Light</field><field name="TYPE">char</field><value name="VALUE"><block type="text_char" id="EO1L5CBxkoKHhGS_$WeE"><field name="TEXT"> </field></block></value><next><block type="controls_if" id="mq]k4.ip:/zur:$^jPY@"><value name="IF0"><block type="serial_available" id="tjg$7Z2kQKNga2n%rEUh"><field name="serial_select">Serial</field></block></value><statement name="DO0"><block type="variables_set" id="7m#Z%1,8jD9XMsiQuB[q"><field name="VAR">Light</field><value name="VALUE"><block type="serial_parseInt_Float" id="H#?#r97F3{@:HZ`{#Gc-"><field name="serial_select">Serial</field><field name="STAT">read</field></block></value></block></statement><next><block type="controls_switch_case" id="f8xtKvR+a~M(X4)MlL|R"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="3" else="1"></mutation><value name="IF0"><block type="variables_get" id="A}y;N@(U`.tJ.WY5;5_J"><field name="VAR">Light</field></block></value><value name="IF1"><block type="text_char" id="QO/P(0aDCuY5B{:g6h=m"><field name="TEXT">R</field></block></value><statement name="DO1"><block type="inout_digital_write2" id="LGhGXtLy5:VM6Mq4)eW,"><value name="PIN"><shadow type="pins_digital" id="Q#}cG9H9^%h9N0zla94z"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="eJ;Iw$Egfx?x8m@W3jAF"><field name="BOOL">HIGH</field></shadow></value></block></statement><value name="IF2"><block type="text_char" id="pl_5H8MWV.gfa/G:0S|D"><field name="TEXT">Y</field></block></value><statement name="DO2"><block type="inout_digital_write2" id="7KQ%vY?1)zFvXsw[N?F="><value name="PIN"><shadow type="pins_digital" id="(RHjuj!rx5bdS0P$DwU4"><field name="PIN">10</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="lsL1?}u!c_jh_]3jWEo`"><field name="BOOL">HIGH</field></shadow></value></block></statement><value name="IF3"><block type="text_char" id="!J!qpR)K~DNLXEl{9HAH"><field name="TEXT">G</field></block></value><statement name="DO3"><block type="inout_digital_write2" id="F:X3ys=:#2I;BZ5{,%{U"><value name="PIN"><shadow type="pins_digital" id="=7:5+TD_L!%)eck2rhU="><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="5;3#h6tCoOMq/KRHidoe"><field name="BOOL">HIGH</field></shadow></value></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="-zUqd1sp9wb.!%fp=qz^"><value name="PIN"><shadow type="pins_digital" id="7{*.{#krgZ*4Up#bV]jE"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="8+]3iOCV5q{$K#f``6N{"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="Ux9z]MZ%l5Nh=0zx8c(8"><value name="PIN"><shadow type="pins_digital" id="`o4FiYOOFA`f5|Bfna.s"><field name="PIN">10</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="E9()vIzymz_%;67JmVYd"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="9|EWbdXO:B}Cf=7~H6*m"><value name="PIN"><shadow type="pins_digital" id="Tbl@T3!klqbbdrCkvxLk"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="uq5@fe^UUGZ/Az63CuTR"><field name="BOOL">LOW</field></shadow></value></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="5st)k?W=^aVnD=p@p+dd" x="0" y="0"><field name="VALUE">串口交互\nD13接LED。\n输入1,开灯输入0关灯。</field><next><block type="serial_begin" id="R:2=0(.l/OsyYIFHH,~;"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="/$6|]rGt4z!]m#ybD|AT"><field name="NUM">9600</field></shadow></value><next><block type="variables_declare" id="pHZn*U]cX2909+[d2P5l"><field name="variables_type">global_variate</field><field name="VAR">Light</field><field name="TYPE">char</field><value name="VALUE"><block type="text_char" id="ck%GjEk7ki*jfddUM;N("><field name="TEXT">0</field></block></value><next><block type="controls_if" id="mq]k4.ip:/zur:$^jPY@"><value name="IF0"><block type="serial_available" id="tjg$7Z2kQKNga2n%rEUh"><field name="serial_select">Serial</field></block></value><statement name="DO0"><block type="variables_set" id="7m#Z%1,8jD9XMsiQuB[q"><field name="VAR">Light</field><value name="VALUE"><block type="serial_parseInt_Float" id="H#?#r97F3{@:HZ`{#Gc-"><field name="serial_select">Serial</field><field name="STAT">read</field></block></value></block></statement><next><block type="controls_switch_case" id="f8xtKvR+a~M(X4)MlL|R"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="2"></mutation><value name="IF0"><block type="variables_get" id="A}y;N@(U`.tJ.WY5;5_J"><field name="VAR">Light</field></block></value><value name="IF1"><block type="text_char" id="P[g91fuCahV-=%zSmwc!"><field name="TEXT">1</field></block></value><statement name="DO1"><block type="inout_digital_write2" id="LGhGXtLy5:VM6Mq4)eW,"><value name="PIN"><shadow type="pins_digital" id="Q#}cG9H9^%h9N0zla94z"><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="eJ;Iw$Egfx?x8m@W3jAF"><field name="BOOL">HIGH</field></shadow></value></block></statement><value name="IF2"><block type="text_char" id="PfsN+G|iu39vv2~;{4Z4"><field name="TEXT">0</field></block></value><statement name="DO2"><block type="inout_digital_write2" id="7KQ%vY?1)zFvXsw[N?F="><value name="PIN"><shadow type="pins_digital" id="(RHjuj!rx5bdS0P$DwU4"><field name="PIN">13</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="lsL1?}u!c_jh_]3jWEo`"><field name="BOOL">LOW</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="serial_begin" id="jO4]umi`?wc#]h{`~YfI" x="11" y="69"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="PbAKr|Ir|XJat%N0tS=,"><field name="NUM">9600</field></shadow></value><next><block type="controls_for" id="2jJ(FlotoW9S(EqKn3yu"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="wRiXr)fODBM{{w=ud|k^"><field name="NUM">33</field></shadow></value><value name="TO"><shadow type="math_number" id="75phmqis@~Es9/}NO~7X"><field name="NUM">127</field></shadow></value><value name="STEP"><shadow type="math_number" id="[e2..w_eEsfcMveB)wnX"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_write" id="3cZR!}MgY[^+D5uL@Aow"><field name="serial_select">Serial</field><value name="CONTENT"><block type="variables_get" id="E,=B~y3D8+JUTmhVhk7A"><field name="VAR">i</field></block></value><next><block type="serial_print" id=")7`c/X[a(Gf7W{8?2Z9q"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="text" id="eMY%i.i;=x1_@L?Nq*]T"><field name="TEXT">,DEC:</field></block></value><next><block type="serial_print" id="X,AR*Fjb3Bi=?)YS[yeW"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="variables_get" id="Rhx/ns5uyqyQ3?,OTI!~"><field name="VAR">i</field></block></value><next><block type="serial_print" id=".V=gu}Z-/=QQDEDWWn#,"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="text" id="qv^f[ay/#KO96A8EX#Vq"><field name="TEXT">,HEX:</field></block></value><next><block type="serial_print_num" id="CLCK*a@huD[qxd3`sFqu"><field name="serial_select">Serial</field><field name="new_line">print</field><field name="STAT">HEX</field><value name="CONTENT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="f$#X;jc2);qym%{SM+~d"><field name="NUM">0</field></shadow><block type="variables_get" id="ZgJcaMaLY!4dJt-7=wp9"><field name="VAR">i</field></block></value><next><block type="serial_print" id="5IV9[z9BfR)WLW+IN,gx"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="text" id="gt|sjTo2`1LGU[}OBNtQ"><field name="TEXT">,BIN:</field></block></value><next><block type="serial_print_num" id="@(3`e`6n;f3z(F=*HY59"><field name="serial_select">Serial</field><field name="new_line">print</field><field name="STAT">BIN</field><value name="CONTENT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="f$#X;jc2);qym%{SM+~d"><field name="NUM">0</field></shadow><block type="variables_get" id="+|gXmx|*os!6$QA{F6u+"><field name="VAR">i</field></block></value><next><block type="serial_println" id="j((!vs0AW`4kpQP`#XJf"><field name="serial_select">Serial</field><field name="new_line">println</field></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type="controls_end_program" id="-j_.K4C-MfpFqkERnrty"></block></next></block></next></block></xml>