Files
mixly3/boards/default/arduino_avr/examples/10-传感器/01-超声波测距.mix
2024-07-19 10:16:00 +08:00

1 line
1.5 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="7E(N@4A|g*a^4jr6gy19" x="-269" y="52"><field name="VALUE">超声波测距\n超声波传感器trig接D2Echo接D3\n串口输出超声波传感器检测的距离值</field><next><block type="serial_begin" id=":W`^4cqg!JfN4NG/5XNQ"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="8i#5Ge^HVC$}U~!B,[5D"><field name="NUM">9600</field></shadow></value><next><block type="serial_print" id="9{^PL0M#}h1}|pPs$~t2"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id="PI9nZSH#Z%HM=3_hGY[}" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation><value name="ADD0"><block type="text" id="q}n1A$9LQ;bUVzTvHh8v"><field name="TEXT">距离:</field></block></value><value name="ADD1"><block type="chaoshengbo2" id="}6(#2s/N5eOU9~Q%iUde"><field name="Trig">2</field><field name="Echo">3</field></block></value><value name="ADD2"><block type="text" id="to{OQf@dAz)Rz.KAtr0p"><field name="TEXT">cm</field></block></value></block></value><next><block type="controls_delay" id="SD)NQecJy;P0he#_H]g#"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="nuOv.Yh|%r@7O|yR/St8"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></xml>