Giỏ hàng
Danh mục sản phẩm

Cài Đặt Arduino ESP32 -S2

Đăng bởi Buiprohd@gmail.com ngày bình luận

Hôm nay mình giới thiệu ESP32-S2

Sau khi cài đặt ESP32 bài 1

Các bạn cài đặt thêm ESP32-S2 Như sau 

Các bạn tải Link sau :https://github.com/espressif/arduino-esp32

 

 

 

Chạy File Như hình  GET.EXE

Copy Các file như trong hình vào mục ESP32

Vào mục file quản lý thiết bị có chứ ESP32-S2 như hình

Nạp thử chương trình nháy LED bình Thường  

int led = 18;
int led1 = 2;
// the setup routine runs once when you press reset:
void setup() {
  // initialize the digital pin as an output.
    Serial.begin(9600);
  pinMode(led, OUTPUT);
    pinMode(led1, OUTPUT);
}
int sensorValue ;
// the loop routine runs over and over again forever:
void loop() {Serial.println(sensorValue);
  digitalWrite(led, HIGH);   digitalWrite(led1, HIGH);  
  delay(1000);               
  digitalWrite(led, LOW);   digitalWrite(led1, LOW);  
  delay(1000);              
}

Nạp Chương Trình Cho ESP32-S2 

Mọi thắc mắc gửi mail shop BUIPROHD@GMAIL.COM

Link Tham Khảo Thêm :https://www.mischianti.org/2020/12/01/esp32-s2-pinout-specs-and-arduino-ide-configuration-1/

 

 

 


← Cũ hơn Mới hơn →