dear rioters, i’m trying to use wifi on esp8266 board, but i can’t find a simple way to implement my funtion,who can help me?
You need to select the esp_wifi
module:
USEMODULE += esp_wifi
and set the WiFi credentials:
CFLAGS += -DWIFI_SSID=\"your SSID\"
CFLAGS += -DWIFI_PASS=\"your password\"
Then the esp8266 should connect to the WiFi automatically on startup.
thanks