December 2010
Beginner
455 pages
10h 47m
English
In Chapter 6, you learned how to make music, alarm sounds, warning beeps, etc, from your Arduino. These sounds have many useful applications. You can, for example, make your own alarm clock. By using a piezo sounder in reverse to detect voltages from it and use that effect to detect a knock or pressure on the disc, you can make a musical instrument. Finally, by using an LDR to detect light, you can turn on a night light when ambient light falls below a certain threshold.
tone() functionnoTone() function#define command and how it makes code easier to debug and understand ...Read now
Unlock full access