If you're seeing this message, it means we're having trouble loading external resources on our website.

Jeżeli jesteś za filtrem sieci web, prosimy, upewnij się, że domeny *.kastatic.org i *.kasandbox.org są odblokowane.

Główna zawartość

Challenge: drum partner

Sound sensor

Now we can get to know the sound sensor with a simple challenge
Sound sensor
The sound sensor can be used to control switch statements. If you setup your switch statement correctly using a sound sensor you will be able to build this simple drum partner.
Filmy wideo na Khan Academy
To do this you must build a program which beeps when it detects a loud tap/clap. It will require you to use a single loop block and switch statement which is controled by a sound sensor. Powodzenia!

Chcesz dołączyć do dyskusji?

Na razie brak głosów w dyskusji
Rozumiesz angielski? Kliknij tutaj, aby zobaczyć więcej dyskusji na angielskiej wersji strony Khan Academy.