Files
mixly3/boards/default/arduino_avr/examples/03-数学/02-绘制三角函数曲线.mix
2024-07-19 10:16:00 +08:00

1 line
3.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="=}ynWVr!(}h-d;yCl,X(" x="-40" y="110"><field name="VALUE">绘制SIN-COS的函数图像\n程序上传后打开串口监视器\n并切换到绘图模式</field><next><block type="serial_begin" id="*FH*+q2A?V5*Yf4;o[9*"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="jzy(`c$`UtGEpZ1yjIry"><field name="NUM">9600</field></shadow></value><next><block type="controls_for" id="=hVHlF()/a2l*xkyiY_i"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="bP2myzI1YfRpxtf]-~+Q"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="_Ym`uml`=`k)oj/4mZH_"><field name="NUM">360</field></shadow></value><value name="STEP"><shadow type="math_number" id="EW*@r!I.)/Ti#-RBYR.="><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_print" id=")osIjp#r`D(QJKVY|gA|"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="math_arithmetic" id="nY=MwF;|rK2.ew=1-]zd"><field name="OP">ADD</field><value name="A"><shadow xmlns="" type="math_number" id="Xs:d*5PSsjzB!%Inn#n?"><field xmlns="" name="NUM">1</field></shadow><block type="math_arithmetic" id=")UjGHX-A=/Se6)Xq~p^q"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="" type="math_number"><field xmlns="" name="NUM">1</field></shadow><block type="math_trig" id="_2c*siwq#l:.aV~KD*lN"><field name="OP">SIN</field><value name="NUM"><block type="variables_get" id="wh7e;Hn[7[]Q18Rf*DBp"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow xmlns="" type="math_number"><field xmlns="" name="NUM">1</field></shadow><block type="math_number" id="VXJbhfnBHn6=g#kc7d**"><field name="NUM">256</field></block></value></block></value><value name="B"><shadow type="math_number" id="@log/n%BorDm:QGR(O+E"><field name="NUM">512</field></shadow></value></block></value><next><block type="serial_print" id="sQOwxQ,*1m=joCqIBvK4"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="text" id=";p]=bCFKWa}c!`7ro53?"><field name="TEXT">,</field></block></value><next><block type="serial_println" id="nXYC@@.z%Jw)0.T7#}aP"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="math_arithmetic" id="}eL0CKC~hgFFlqb9Cy:B"><field name="OP">ADD</field><value name="A"><shadow xmlns="" type="math_number" id="Xs:d*5PSsjzB!%Inn#n?"><field xmlns="" name="NUM">1</field></shadow><block type="math_arithmetic" id="X6vsB.q5Z)Aw5nmetdT?"><field name="OP">MULTIPLY</field><value name="A"><shadow xmlns="" type="math_number"><field xmlns="" name="NUM">1</field></shadow><block type="math_trig" id="m!9jU%;-PAl[O/PowAbb"><field name="OP">COS</field><value name="NUM"><block type="variables_get" id="xiZ=FR=aAZL4cJAkqrhR"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow xmlns="" type="math_number"><field xmlns="" name="NUM">1</field></shadow><block type="math_number" id="?dj*,J3G7HoC_wsWCx^]"><field name="NUM">256</field></block></value></block></value><value name="B"><shadow type="math_number" id="k-ROx[sDL}6W;Bh#a~7y"><field name="NUM">512</field></shadow></value></block></value><next><block type="base_delay" id="iHn,)wreVS0eKN?;a%_s"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id=")G3Dw4PjHKZ)#?-05-x/"><field name="NUM">200</field></shadow></value></block></next></block></next></block></next></block></statement></block></next></block></next></block></xml>