#define led_pin 2 // Arduino number void setup() { // put your setup code here, to run once: pinMode(led_pin, OUTPUT); for (int x = 0; x < 10; x++) { digitalWrite(led_pin, HIGH); delay(1000); digitalWrite(led_pin, LOW); delay(1000); } } void loop() { // put your main code here, to run repeatedly: // digitalWrite(led_pin, HIGH); }