Hi guys,
I am trying to use the wifi on the board but I get the following error at the wifi.begin line in the serial terminal :
addApbChangeCallback(): duplicate func=400EAB44 arg=3FFBF008
Here is my code :
#include "M5StickCPlus.h"
#include <WiFi.h>
#define WIFI_SSID "router"
#define WIFI_PASS "pass"
void setup() {
M5.begin(true, true, true);
Serial.printf("Connecting to %s ", WIFI_SSID);
WiFi.begin(WIFI_SSID, WIFI_PASS);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("CONNECTED");
}
I also tried to declare WIFI_SSID and the WIFI_PASS as a const char*. However, it does not work either. I cannot compile, I have this error : "error: invalid conversion from 'const char*' to 'char*'"
What am I missing?