Alarm Project Quest #1

0 Points

The code below generates a siren noise rather than a solid buzzing noise.  See if you can insert it in the proper place to change the way your alarm sounds.


void siren() {
int i = 200; // The starting pitch
while(i < 800) {
tone(buzzerPin, i); // Emit the noise
delay(100); // A short break in between each whoop

void nosiren(){

When you are done, submit a screenshot or other copy of your code to receive your quest badge.

Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.
We do not share your personal details with anyone.