Light sensor and buzzer not working as I planned

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:

  1. I cannot see the sensor values in the serial monitor
  2. 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)

I cannot see the sensor values in the serial monitor

Commenting out all of the Serial commands in the program will not help but there is also no attempt to print the sensor value commented out or not.