로딩
요청 처리 중입니다...

[개발] Arduino /ESP WIFI에 연결하기 -

 [개발] Arduino /ESP WIFI에 연결하기 -

아두이노의 경우 ESP WIFI 모듈을 끼우고, ESP의 경우 WIFI가 있다고 가정하고 진행한다. 와이파이 하는 법도 간단하다!

#include const char* ssid = "와이파이 이름"; const char* password = "와이파이 비번"; int i = 0; void setup() { // put your setup code here, to run once: Serial.begin(115200); delay(10); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } } // 연결 여부 로그 출력 void loop() { // put your main code here, to run repeatedly: if (WiFi.status() == WL_CONNECTED) Serial.println("WIFI Connected...

# esp # esp32 # mcu # wifi # 개발 # 아두이노