📜  Arduino LED 代码 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:54.596000             🧑  作者: Mango

代码示例1
#define LED 13  // The pin the LED is connected to
void setup() {
  pinMode(LED, OUTPUT); // Declare the LED as an output
}

void loop() {
  digitalWrite(LED, HIGH); // Turn the LED on
}