I don’t see anything on the datasheet that would keep pin 13 HIGH. You could try changing pinMode(PushButton, INPUT); to pinMode(PushButton, INPUT_PULLUP); just to make sure there are no floating voltages when you aren’t pushing the button, but other than that your code looks fine.
If that doesn’t fix it, we might need to look at the shield itself.
I can’t think of anything you’ve done wrong, so it sounds like there might be a problem with the board. If you reply to your order confirmation email with a link to this forum post, the support team can take it from there.
I tested your board first by wiring it in the way you have shown. I changed your code to what I have below and by removing the jumper indicated on the picture. Doing this I was able to get the desired behaviour. Someone will be in contact shortly to arrange returning the device to you.
int PushButton= 7;
int LedLight=13;
void setup() {
pinMode(PushButton, INPUT_PULLUP);
pinMode(LedLight, OUTPUT);
//digitalWrite(PushButton, HIGH); Does same job as INPUT_PULLUP
}
void loop() {
if(digitalRead(PushButton) == LOW) {
digitalWrite(LedLight, HIGH);
delay(50);
} else{
digitalWrite(LedLight, LOW);
}
}