Hello! I would like to get some help please.
I am using Lilypads to make a simple bag alarm. The alarm will trigger when the bag is opened = when light comes in.
I intended to code to play a happy birthday song. My issues:
- I cannot see the sensor values in the serial monitor
- When I cover the sensor, the song does not shut off
When the light sensor is detecting dark again, I would like to make the LED and buzzer turn off.
Some help would be really appreciated! Thanks in advance.
Alarm_1.ino (2.24 KB)
Mo4_Claire_edited.ino (2.09 KB)