<?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[2022 M5 Stamp Pico and Waveshare epaper Arduino Library?]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/2191/connecting-epaper-display-to-m5stack-core-or-other-models-waveshare">Connecting Epaper display to m5stack core or other models ? (Waveshare)</a></p>
<p dir="auto">Site says previous topic is old so I started a new one on its suggestion.</p>
<p dir="auto">Hi there. I know there's an M5Paper product.</p>
<p dir="auto">But I'd like to connect a Waveshare 1.54" bw epaper display to an M5Stamp Pico board.</p>
<p dir="auto">Are there any Arduino libraries available to do this?what are they called?</p>
<p dir="auto">What are the M5 pins that I connect the DI, SCK, CS, Dc, BUSY and RESET pins.</p>
<p dir="auto">Thanks for your suggestions/recommendations.</p>
]]></description><link>https://community.m5stack.com/topic/4589/2022-m5-stamp-pico-and-waveshare-epaper-arduino-library</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 20:37:05 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4589.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Sep 2022 02:25:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 2022 M5 Stamp Pico and Waveshare epaper Arduino Library? on Mon, 05 Sep 2022 15:49:44 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/hausofpayne" aria-label="Profile: hausofpayne">@<bdi>hausofpayne</bdi></a></p>
<p dir="auto">ESP32 allows to assign almost any functionality (SPI, I2C, etc.) to almost any GPIOs.</p>
<p dir="auto">Using the example <a href="https://github.com/ZinggJM/GxEPD2/blob/master/examples/GxEPD2_WS_ESP32_Driver/GxEPD2_WS_ESP32_Driver.ino" target="_blank" rel="noopener noreferrer nofollow ugc">GxEPD2_WS_ESP32_Driver.ino</a> from the <a href="https://github.com/ZinggJM/GxEPD2" target="_blank" rel="noopener noreferrer nofollow ugc">GxEPD2 library</a> with the following GPIO setup worked for me. (Note: I used a Waveshare 2.9" ePaper for my test.)</p>
<ul>
<li>DI &lt;--&gt; 26</li>
<li>SCK &lt;--&gt; 18</li>
<li>CS &lt;--&gt; 21</li>
<li>DC &lt;--&gt; 22</li>
<li>BUSY &lt;--&gt; 32</li>
<li>RESET &lt;--&gt; 33</li>
</ul>
<p dir="auto">On line 118 of the example you set the GPIOs for CS, DC, RST and BUSY:</p>
<pre><code>GxEPD2_DISPLAY_CLASS&lt;GxEPD2_DRIVER_CLASS, MAX_HEIGHT(GxEPD2_DRIVER_CLASS)&gt; display(GxEPD2_DRIVER_CLASS(/*CS=*/ 21, /*DC=*/ 22, /*RST=*/ 33, /*BUSY=*/ 32));
</code></pre>
<p dir="auto">On line 150 of the example you set the GPIOs for SPI:</p>
<pre><code>  SPI.begin(18, 36, 26, 21); // map and init SPI pins SCK(18), MISO(36), MOSI(26), SS(21)
</code></pre>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/18545</link><guid isPermaLink="true">https://community.m5stack.com/post/18545</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 05 Sep 2022 15:49:44 GMT</pubDate></item></channel></rss>