<?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 compile M5Paper Weather sketch]]></title><description><![CDATA[<p dir="auto">I have downloaded this sketch along with all of the XX.h files and installed them in my Arduino directory, as I have prviously done with other GIT sketches. <a href="https://github.com/Bastelschlumpf/M5PaperWeather/tree/master/weather" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Bastelschlumpf/M5PaperWeather/tree/master/weather</a> Unfortunately I cannot get this sketch to compile, it complains that in "..../Time.h MyData was not declared in this scope"</p>
<p dir="auto">I have noticed that in Time.h there is the line 22 "#pragma once" which is not followed by any local XX.h files as it is in the other local libraries and .h files. I am nor familiar with" #pragma once" and am wondering if another library is supposed to declare MyData. MyData is declared as a class in Data.h.</p>
]]></description><link>https://community.m5stack.com/topic/5850/cannot-compile-m5paper-weather-sketch</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 00:35:11 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5850.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Nov 2023 18:31:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot compile M5Paper Weather sketch on Mon, 10 Jun 2024 04:37:12 GMT]]></title><description><![CDATA[<p dir="auto">weather information from openweathermap <a href="https://openweathermap.org" target="_blank" rel="noopener noreferrer nofollow ugc">https://openweathermap.org</a> on the e-ink display of the M5Paper. Please edit the config.h file with your own data. <strong>You need an api key from openweathermap.</strong><br />
Config.h</p>
<pre><code>#pragma once
#define VERSION          "Version 1.0"
#define CITY_NAME        "City"
// change to your location
#define LATITUDE         47.69732 
#define LONGITUDE         8.63493

#define OPENWEATHER_SRV  "api.openweathermap.org"
#define OPENWEATHER_PORT 80
#define OPENWEATHER_API  "your openweathermap api key"

#define WIFI_SSID        "your wifi ssid"
#define WIFI_PW          "your wifi password"
</code></pre>
<p dir="auto"><strong>onecall is not free anymore with new accounts.</strong><br />
<a href="https://github.com/Bastelschlumpf/M5PaperWeather/issues/9" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Bastelschlumpf/M5PaperWeather/issues/9</a></p>
]]></description><link>https://community.m5stack.com/post/25533</link><guid isPermaLink="true">https://community.m5stack.com/post/25533</guid><dc:creator><![CDATA[flypeek]]></dc:creator><pubDate>Mon, 10 Jun 2024 04:37:12 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot compile M5Paper Weather sketch on Sun, 09 Jun 2024 01:40:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> It does to and extent. I managed to find a few libraries that needed to be installed. I'm still having trouble with DynamicJsonDocument doc(35 * 1024); in the Weather.h file. It seems the DynamicJsonDocument was deprecated, and I haven't found a good work around.<br />
I very much, appreciate the assistance, and I hope to stumble accross the solution soon.<br />
I'm working with Arduino 1.8.19, and I'm thinking this code would compile for me if I knew what version the original author was using. I am not able to DM the original author on GitHub. I'll keep trying, and post updates as I find solutions.<br />
Thank you.</p>
]]></description><link>https://community.m5stack.com/post/25528</link><guid isPermaLink="true">https://community.m5stack.com/post/25528</guid><dc:creator><![CDATA[GIGObug]]></dc:creator><pubDate>Sun, 09 Jun 2024 01:40:15 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot compile M5Paper Weather sketch on Sat, 08 Jun 2024 08:38:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gigobug" aria-label="Profile: GIGObug">@<bdi>GIGObug</bdi></a> said in <a href="/post/25526">Cannot compile M5Paper Weather sketch</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/steve1" aria-label="Profile: Steve1">@<bdi>Steve1</bdi></a><br />
Hi,</p>
<p dir="auto">It seems there might be some missing libraries to install. I just don't know which ones yet...</p>
</blockquote>
<p dir="auto">Arduino should tell you during compile Whicker ones are missing</p>
]]></description><link>https://community.m5stack.com/post/25527</link><guid isPermaLink="true">https://community.m5stack.com/post/25527</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sat, 08 Jun 2024 08:38:06 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot compile M5Paper Weather sketch on Sat, 08 Jun 2024 01:17:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/steve1" aria-label="Profile: Steve1">@<bdi>Steve1</bdi></a><br />
Hi,</p>
<p dir="auto">It seems there might be some missing libraries to install. I just don't know which ones yet...</p>
]]></description><link>https://community.m5stack.com/post/25526</link><guid isPermaLink="true">https://community.m5stack.com/post/25526</guid><dc:creator><![CDATA[GIGObug]]></dc:creator><pubDate>Sat, 08 Jun 2024 01:17:44 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot compile M5Paper Weather sketch on Mon, 27 Nov 2023 20:43:04 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/steve1" aria-label="Profile: Steve1">@<bdi>Steve1</bdi></a></p>
<p dir="auto">looks like that issue isn't new. See <a href="https://github.com/Bastelschlumpf/M5PaperWeather/issues/11" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Maybe try to contact the owner of the code?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/22914</link><guid isPermaLink="true">https://community.m5stack.com/post/22914</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 27 Nov 2023 20:43:04 GMT</pubDate></item></channel></rss>