← Lessons PIXEL PATH Β· 4–6 πŸ•

Pizza Debounce Doorbell

LESSON 145
🎯 Today's missions
πŸ•πŸ””β³
PIZZA PLANET

Pizza Debounce Doorbell

A hungry kid rings the doorbell ring-ring-ring-ring! Should the kitchen bake four pizzas? Let's teach it to wait until the ringing stops.

🧠 Before we start

Rocket Canary Switch taught us to go slowly and safely. Today the computer learns to wait for quiet. This is called debouncing: every new ring restarts the timer, and the job happens only once, after the ringing stops.

πŸ”” Ring→⏳ Start timerβ†’πŸ”” Ring again? Restart!β†’πŸ• Quiet = one job
Challenge 1 of 4Build the calm doorbell program
1

Build the calm doorbell program

Tap the blocks in the right order so the kitchen waits for quiet before it bakes.

DEBOUNCE PROGRAM Β· WAIT, RESTART, THEN BAKE
1 Β· HEAR
2 Β· WAIT
3 Β· RESTART
4 Β· BAKE

🌟 What you learned

Come back tomorrow for another advanced visual coding adventure! ✨