<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cannot use Wifi]]></title><description><![CDATA[<p dir="auto">Hi guys,<br />
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 :<br />
addApbChangeCallback(): duplicate func=400EAB44 arg=3FFBF008</p>
<p dir="auto">Here is my code :<br />
#include "M5StickCPlus.h"<br />
#include &lt;WiFi.h&gt;</p>
<p dir="auto">#define WIFI_SSID "router"<br />
#define WIFI_PASS "pass"</p>
<p dir="auto">void setup() {<br />
M5.begin(true, true, true);<br />
Serial.printf("Connecting to %s ", WIFI_SSID);<br />
WiFi.begin(WIFI_SSID, WIFI_PASS);<br />
while (WiFi.status() != WL_CONNECTED) {<br />
delay(500);<br />
Serial.print(".");<br />
}<br />
Serial.println("CONNECTED");<br />
}</p>
<p dir="auto">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*'"</p>
<p dir="auto">What am I missing?</p>
]]></description><link>https://community.m5stack.com/topic/3366/cannot-use-wifi</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 07:08:57 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3366.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 12 Jun 2021 23:03:38 GMT</pubDate><ttl>60</ttl></channel></rss>