const int ledPin = 2; // Example LED pin

void setup() {
  DDRD |= (1 << DDD2); // Set pin 2 of PORTD (Arduino digital pin 2) as OUTPUT
}

void loop() {
  digitalWrite(ledPin, HIGH); // Turn the LED on
  delay(1000); // Wait for 1 second
  digitalWrite(ledPin, LOW); // Turn the LED off
  delay(1000); // Wait for 1 second
}