1 line
2.8 KiB
XML
1 line
2.8 KiB
XML
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="De`ruz5VtD=)vw?X%w,3" x="-1277" y="-32"><statement name="DO"><block type="serial_begin" id="esyVxp0%?{)-[C`$%/e`"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="8$F}agubXC8+abgF#e5@"><field name="NUM">9600</field></shadow></value></block></statement></block><block type="factory_notes" id="#.ucTz$+[{A3~)M:XP%E" x="-1278" y="77"><field name="VALUE">输出两个数取余的值</field><next><block type="serial_println" id="#*|lx[gI%yGgxFfu)ptc"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="math_arithmetic" id="9u)#s3WxCiH]!L(H%]GT"><field name="OP">QUYU</field><value name="A"><shadow type="math_number" id="2_Vw7`;K/e[npErGqSN3"><field name="NUM">10</field></shadow></value><value name="B"><shadow type="math_number" id="yp?`VM_+}y?7_432_~Um"><field name="NUM">3</field></shadow></value></block></value><next><block type="factory_notes" id="%IASTx3#}m~=^@S94SUP"><field name="VALUE">A0连接电位器,\n将看到LED亮灭随电位器的旋转约束在0-255之间不同的亮度</field><next><block type="inout_analog_write" id="?PQldvR/W9o]+WSp6Jj:"><value name="PIN"><shadow type="pins_pwm" id="2Z!ht5x%:u5wh;wRB9O~"><field name="PIN">11</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="4M5u,rAh#jqBZmI/L2Ns"><field name="NUM">0</field></shadow><block type="math_constrain" id="]oC8h`.2bfr{KqykHe~,"><value name="VALUE"><block type="math_arithmetic" id=".b14:o,/X2z5]7SRU/DN"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="quTq2,zRFWC(=L#^?gc5"><field name="NUM">10</field></shadow><block type="math_arithmetic" id="64fa-`ZSvQmNWZX]d-E2"><field name="OP">QUYU</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="quTq2,zRFWC(=L#^?gc5"><field name="NUM">10</field></shadow><block type="inout_analog_read" id="|/^L,#K4_K?HZ!.-!dcL"><value name="PIN"><shadow type="pins_analog" id="G-VIsu[9=IU(#7q=V=su"><field name="PIN">A0</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="6mKII?:J2.0(oIG,k:J?"><field name="NUM">3</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="lFrP[s=H[=ZM?8)O0;Ln"><field name="NUM">50</field></shadow></value></block></value><value name="LOW"><shadow type="math_number" id="Csm0!V-ELrS,|OcsSTHt"><field name="NUM">0</field></shadow></value><value name="HIGH"><shadow type="math_number" id="2ysA]d+WP4Gy9-Jpx_}e"><field name="NUM">255</field></shadow></value></block></value></block></next></block></next></block></next></block></xml> |