【ESP32】1.点灯工程师


#include <Arduino.h>

void setup() {
  // put your setup code here, to run once:
   pinMode(2, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(2,HIGH);
  delay(1000);
  digitalWrite(2,LOW);
  delay(1000);
}

















posted @ 2022-03-02 21:14  寥若辰星  阅读(89)  评论(0编辑  收藏  举报