Eu testei e funcionou.
O programa é upado para o Arduino? Dá algum erro? Se você jogar o exemplo Blink funciona?
Você está usando um botão na entada correta ? Se não tiver um botão, use um resistor de pull down de 10k conectado no pino do botão (pino 12) para GND. Depois pegue um jumper do 5V e conecte rapidamente na entrada do botão para ver o led acender.
Teste e retorne aqui informando COM DETALHES.
Piscar LED (LED da placa do Arduino - pino 13):
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}