<?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[Problems compiling example M5stack with arduino ide]]></title><description><![CDATA[<p dir="auto">Hello,<br />
The M5STACK is new for me. After installing the software and start an example I get the next errors :</p>
<p dir="auto">/Users/jankromhout/Documents/Arduino/libraries/M5Stack/src/LoRaWan.cpp: In member function 'void LoRaWanClass::init()':<br />
/Users/jankromhout/Documents/Arduino/libraries/M5Stack/src/LoRaWan.cpp:45:5: error: 'Serial2' was not declared in this scope<br />
Serial2.begin(9600, SERIAL_8N1, 16, 17);<br />
^<br />
In file included from /Users/jankromhout/Documents/Arduino/libraries/M5Stack/src/LoRaWan.cpp:33:0:<br />
/Users/jankromhout/Documents/Arduino/libraries/M5Stack/src/LoRaWan.cpp: In member function 'void LoRaWanClass::getVersion(char*, short int, unsigned char)':<br />
/Users/jankromhout/Documents/Arduino/libraries/M5Stack/src/LoRaWan.h:33:29: error: 'Serial2' was not declared in this scope<br />
#define SerialLoRa          Serial2<br />
^</p>
<p dir="auto">Wat do I missing?<br />
Thanks for any help.<br />
Cheers, Jan</p>
]]></description><link>https://community.m5stack.com/topic/1140/problems-compiling-example-m5stack-with-arduino-ide</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 10:09:01 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1140.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Jul 2019 08:54:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problems compiling example M5stack with arduino ide on Thu, 18 Jul 2019 09:53:41 GMT]]></title><description><![CDATA[<p dir="auto">Found the solution.  a New clean install with the latest version. Now it's compiles well !</p>
]]></description><link>https://community.m5stack.com/post/4828</link><guid isPermaLink="true">https://community.m5stack.com/post/4828</guid><dc:creator><![CDATA[Powersoft]]></dc:creator><pubDate>Thu, 18 Jul 2019 09:53:41 GMT</pubDate></item><item><title><![CDATA[Reply to Problems compiling example M5stack with arduino ide on Thu, 18 Jul 2019 09:39:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1718">@powersoft</a> remove #</p>
]]></description><link>https://community.m5stack.com/post/4827</link><guid isPermaLink="true">https://community.m5stack.com/post/4827</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 18 Jul 2019 09:39:32 GMT</pubDate></item></channel></rss>