void setup() {
Serial.begin(9600); // Initialize serial communication
bitSet(DDRB, 2); // Set digital pin 10 (PB2) as an output pin
}
void loop() {
bitSet(PORTB, 2); // Set digital pin 10 (PB2) HIGH
delay(1000); // Wait for 1 second
bitClear(PORTB, 2); // Set digital pin 10 (PB2) LOW
delay(1000); // Wait for 1 second
}