聲音輸入
瞭解如何使用新版 micro:bit 的內建麥克風來控制您的程式和測量您周圍的聲音
新版附有聲音功能的 micro:bit 有一個內建的麥克風感測器。 它可以對大聲和小聲的聲響作出反應,也可以測量您周圍環境的音量。
麥克風在新的 micro:bit 的背面,在前面您會找到一個新的麥克風 LED,和可供聲音輸入的孔。 當您的 micro:bit 正在測量聲音水準時,它就會發亮。
這些項目將讓您開始使用麥克風來創建程式碼。

拍拍手來讓 micro:bit 顯示跳動的心

使燈光隨著韻律而閃爍

Test which materials are best sound insulators
This content is published under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) licence.