Digital sensor not reading correctly

Total newbie here, just started with Arduino this week. I've got an Arduino MKR1000 WiFi board and am trying to use this sound sensor to detect noise. From the sensor to the board I connect wires as follows:

VCC -> VCC
GND -> GND
OUT -> D7

My sketch is as follows:

const int PIN_NOISE = 7;
void setup() {
Serial.begin(9600);
while (!Serial) {
;
}
pinMode(PIN_NOISE, INPUT);
}

void loop() {
Serial.print(digitalRead(PIN_NOISE));
delay(1000);
}

The sensor has an LED that lights up when noise is detected so I should be able to tell when it is detecting noise. However, in the serial monitor I only see a long string of 1s (HIGH) no matter if the LED is on. Either I am missing something quite obvious or this sensor is not compatible with this board. Any help would be much appreciated.

@mikeshutt

Other post/duplicate DELETED
Please do NOT cross post / duplicate as it wastes peoples time and efforts to have more than one post for a single topic.

Continued cross posting could result in a time out from the forum.

Could you also take a few moments to Learn How To Use The Forum.

Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

I already asked the moderator to delete my other post once I realized it was in the wrong forum.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.