微波雷达和语音播放修改

This commit is contained in:
Irene-Maxine
2024-11-19 00:06:06 +08:00
parent f26ce575c8
commit 3933da7547
13 changed files with 382 additions and 170 deletions

View File

@@ -3925,6 +3925,32 @@
</shadow>
</value>
</block>
<block type="radar_set_DETECTION_THRESHOLD">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">radar</field>
</shadow>
</value>
<value name="VAR">
<shadow type="math_number">
<field name="NUM">5000</field>
</shadow>
</value>
</block>
<block type="radar_set_DELAY_TIME">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">radar</field>
</shadow>
</value>
<value name="VAR">
<shadow type="math_number">
<field name="NUM">500</field>
</shadow>
</value>
</block>
<block type="interaction_whether_to_interaction">
</block>
</category>
<category id="catExternActuator" colour='#74A55B'>
<block type="servo_move" m-show='micropython:esp32c3:mixgocar_c3'>
@@ -4258,6 +4284,51 @@
<shadow type="pins_tts_bgmusic"></shadow>
</value>
</block>
<block type="player_whether_stop">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">player</field>
</shadow>
</value>
</block>
<block type="player_set_play">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">player</field>
</shadow>
</value>
</block>
<block type="player_set_volume">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">player</field>
</shadow>
</value>
<value name="volume">
<shadow type="math_number">
<field name="NUM">20</field>
</shadow>
</value>
</block>
<block type="player_set_mode">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">player</field>
</shadow>
</value>
</block>
<block type="player_play_music">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">player</field>
</shadow>
</value>
<value name="song">
<shadow type="text">
<field name="TEXT">mixly*.mp3</field>
</shadow>
</value>
</block>
</category>
</category>
<category id="catExternMonitor" colour='5BA5A5' m-hide='micropython:esp32c3:mixgocar_c3'>