/*Press andPlat:Control the LED*/
// Define the pin numbers for the LED and buttons
int ledPin = 5;        // Pin where the LED is connected
int buttonApin = 9;    // Pin for button A (RED)
int buttonBpin = 8;    // Pin for button B (YELLOW)

void setup()
{
  // Set the LED pin as an output (we will control this pin)
  pinMode(ledPin, OUTPUT);

  // Enable internal pull-up resistors for the buttons
  pinMode(buttonApin, INPUT_PULLUP);
  pinMode(buttonBpin, INPUT_PULLUP);
}

void loop()
{
  // Debounce delay
  delay(50);

  // Check if button A is pressed (LOW state)
  if (digitalRead(buttonApin) == LOW)
  {
    // Turn on the LED if button A is pressed
    digitalWrite(ledPin, HIGH);
  }

  // Check if button B is pressed (LOW state)
  if (digitalRead(buttonBpin) == LOW)
  {
    // Turn off the LED if button B is pressed
    digitalWrite(ledPin, LOW);
  }
}
$abcdeabcde151015202530fghijfghij
uno:A5.2
uno:A4.2
uno:AREF
uno:GND.1
uno:13
uno:12
uno:11
uno:10
uno:9
uno:8
uno:7
uno:6
uno:5
uno:4
uno:3
uno:2
uno:1
uno:0
uno:IOREF
uno:RESET
uno:3.3V
uno:5V
uno:GND.2
uno:GND.3
uno:VIN
uno:A0
uno:A1
uno:A2
uno:A3
uno:A4
uno:A5
led1:A
led1:C
r1:1
r1:2
btn1:1.l
btn1:2.l
btn1:1.r
btn1:2.r
btn3:1.l
btn3:2.l
btn3:1.r
btn3:2.r