Files
mixly3/boards/default/arduino_avr/examples/03-数学/01-模拟输入和模拟输出.mix
2024-07-19 10:16:00 +08:00

1 line
1.7 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="W}~6ec~+P;mT5l+,;]fA" x="-751" y="-144"><field name="VALUE">A0连接旋转电位器D11连接LED\nLED灯随着电位器的旋转呈现在0-255区间的不同亮度</field><next><block type="variables_declare" id="Y6-*lP:W[J,}?m~(Xh7Q"><field name="variables_type">global_variate</field><field name="VAR">liangdu</field><field name="TYPE">int</field><value name="VALUE"><block type="base_map" id="@Guu~IxV,L]1~L^6fi+5"><field name="maptype">map_int</field><value name="NUM"><block type="inout_analog_read" id="AO9=*_J5_Qn#.J7RHOj@"><value name="PIN"><shadow type="pins_analog" id=",zboVYo8+MBm^T_g?pNt"><field name="PIN">A0</field></shadow></value></block></value><value name="fromLow"><shadow type="math_number" id="u6Zo@|Wr]dvvtiR-GyjU"><field name="NUM">0</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="dMS5,4+{77WYfqaASlFW"><field name="NUM">1023</field></shadow></value><value name="toLow"><shadow type="math_number" id="][I.;eA,D-XG0R-TeES]"><field name="NUM">0</field></shadow></value><value name="toHigh"><shadow type="math_number" id="B6!l`q7pv0SL`aCNv7x{"><field name="NUM">255</field></shadow></value></block></value><next><block type="inout_analog_write" id="@7=QftUxyhzeMl]L+DN*"><value name="PIN"><shadow type="pins_pwm" id="Fi7^1kk-o#AnuQ_ZWM?y"><field name="PIN">11</field></shadow></value><value name="NUM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="g/2y:_ga(AVq7o+1w{nO"><field name="NUM">0</field></shadow><block type="variables_get" id=",+lgv2+=qLHaI`y]fTK`"><field name="VAR">liangdu</field></block></value></block></next></block></next></block></xml>