Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zomint committed Oct 24, 2023
1 parent 0ee5d24 commit 4365085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sensors/smart_modules/speech_recognizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ TODO

## microbit示例程序

语音识别模块MakeCode用户库链接:<https://github.com/emakefun-makecode-extensions/emakefun_speech_recognizer>
语音识别模块MakeCode用户库链接:<https://github.com/emakefun-makecode-extensions/emakefun_speech_recognizer_v2>

[点击查看Micro:bit示例](https://makecode.microbit.org/_b1TdFzTME7Py)
[点击查看Micro:bit示例](https://makecode.microbit.org/_d1X0moe6AYVE)

程序解析:语音识别模块的接Microbit的I2C引脚(SDA---P20, SCL---P19);设置语音识别模块需要识别的词条和该词条对应的编号,编号0为"kai deng", 编号1为"guan deng", P2引脚接LED模块,当语音识别模块识别到"开灯",LED模块亮灯,识别到"关灯",LED模块熄灭。

Expand Down

0 comments on commit 4365085

Please sign in to comment.