[4 p. 55]
This program includes an infinite loop. An infinite loop loops forever. Pay attention to how we “hardcoded” this infinite loop.
Practice
- Try programming Edison to flash both LEDs on and off.
- See how far away from Edison you can go for Edison to detect the clap.
- You can also tap Edison near the sensor.
- Try getting Edison to drive in response to a clap.