<?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[lvgl on m5sack cores3]]></title><description><![CDATA[<p dir="auto">hi i got a new m5stack core s3 and i want to use squreline studio with lovyan gfx and it does not work . can somone help</p>
]]></description><link>https://community.m5stack.com/topic/6615/lvgl-on-m5sack-cores3</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 11:41:12 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6615.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 06 Jul 2024 17:29:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to lvgl on m5sack cores3 on Thu, 25 Jul 2024 01:53:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/5596">@robski</a> yes the simple use example I have used before</p>
]]></description><link>https://community.m5stack.com/post/25917</link><guid isPermaLink="true">https://community.m5stack.com/post/25917</guid><dc:creator><![CDATA[mnhj]]></dc:creator><pubDate>Thu, 25 Jul 2024 01:53:48 GMT</pubDate></item><item><title><![CDATA[Reply to lvgl on m5sack cores3 on Fri, 12 Jul 2024 11:47:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/19059">@mnhj</a> have you tried something simple first to start with it ?</p>
]]></description><link>https://community.m5stack.com/post/25824</link><guid isPermaLink="true">https://community.m5stack.com/post/25824</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Fri, 12 Jul 2024 11:47:15 GMT</pubDate></item><item><title><![CDATA[Reply to lvgl on m5sack cores3 on Tue, 09 Jul 2024 16:36:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/19059">@mnhj</a> said in <a href="/post/25798">lvgl on m5sack cores3</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/5596">@robski</a> ```<br />
<img src="/assets/uploads/files/1720542954411-core-s3.png" alt="core s3.PNG" class=" img-fluid img-markdown" /><br />
this image</p>
<pre><code></code></pre>
</blockquote>
<p dir="auto">the circled area is the sticker ia am talking about</p>
]]></description><link>https://community.m5stack.com/post/25799</link><guid isPermaLink="true">https://community.m5stack.com/post/25799</guid><dc:creator><![CDATA[mnhj]]></dc:creator><pubDate>Tue, 09 Jul 2024 16:36:50 GMT</pubDate></item><item><title><![CDATA[Reply to lvgl on m5sack cores3 on Tue, 09 Jul 2024 16:36:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/5596">@robski</a> ```<br />
<img src="/assets/uploads/files/1720542954411-core-s3.png" alt="core s3.PNG" class=" img-fluid img-markdown" /><br />
this image</p>
<pre><code></code></pre>
]]></description><link>https://community.m5stack.com/post/25798</link><guid isPermaLink="true">https://community.m5stack.com/post/25798</guid><dc:creator><![CDATA[mnhj]]></dc:creator><pubDate>Tue, 09 Jul 2024 16:36:06 GMT</pubDate></item><item><title><![CDATA[Reply to lvgl on m5sack cores3 on Tue, 09 Jul 2024 16:29:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/5596">@robski</a><br />
//sample code arduino</p>
<p dir="auto">#include &lt;LovyanGFX.hpp&gt;</p>
<p dir="auto">// Custom class derived from LGFX_Device for M5Core S3<br />
class LGFX : public lgfx::LGFX_Device<br />
{<br />
// Panel instance for ILI9342<br />
lgfx::Panel_ILI9342     _panel_instance;<br />
// SPI bus instance<br />
lgfx::Bus_SPI        _bus_instance;<br />
// PWM light instance<br />
lgfx::Light_PWM     _light_instance;<br />
// Touch screen instance for FT5x06<br />
lgfx::Touch_FT5x06   _touch_instance;</p>
<p dir="auto">public:<br />
LGFX(void)<br />
{<br />
{ // Bus configuration<br />
auto cfg = _bus_instance.config();</p>
<pre><code>  // SPI bus settings
  cfg.spi_host = SPI3_HOST;
  cfg.spi_mode = 0;
  cfg.freq_write = 40000000;
  cfg.freq_read  = 16000000;
  cfg.spi_3wire  = false;
  cfg.use_lock   = true;
  cfg.dma_channel = SPI_DMA_CH_AUTO;
  cfg.pin_sclk = 7;
  cfg.pin_mosi = 6;
  cfg.pin_miso = 0;
  cfg.pin_dc   = 4;

  _bus_instance.config(cfg);
  _panel_instance.setBus(&amp;_bus_instance);
}

{ // Panel configuration
  auto cfg = _panel_instance.config();

  cfg.pin_cs           = 5;
  cfg.pin_rst          = 48;
  cfg.pin_busy         = 6;

  cfg.panel_width      = 320;
  cfg.panel_height     = 240;
  cfg.offset_x         = 0;
  cfg.offset_y         = 0;
  cfg.offset_rotation  = 0;
  cfg.dummy_read_pixel = 8;
  cfg.dummy_read_bits  = 1;
  cfg.readable         = true;
  cfg.invert           = false;
  cfg.rgb_order        = false;
  cfg.dlen_16bit       = false;
  cfg.bus_shared       = true;

  _panel_instance.config(cfg);
}

{ // Backlight configuration
  auto cfg = _light_instance.config();

  cfg.pin_bl = 45;
  cfg.invert = false;
  cfg.freq   = 44100;
  cfg.pwm_channel = 7;

  _light_instance.config(cfg);
  _panel_instance.setLight(&amp;_light_instance);
}

{ // Touch screen configuration
  auto cfg = _touch_instance.config();

  cfg.x_min      = 0;
  cfg.x_max      = 319;
  cfg.y_min      = 0;
  cfg.y_max      = 239;
  cfg.pin_int    = 38;
  cfg.bus_shared = true;
  cfg.offset_rotation = 0;

  cfg.spi_host = SPI3_HOST;
  cfg.freq = 1000000;
  cfg.pin_sclk = 18;
  cfg.pin_mosi = 23;
  cfg.pin_miso = 19;
  cfg.pin_cs   = 5;

  _touch_instance.config(cfg);
  _panel_instance.setTouch(&amp;_touch_instance);
}

setPanel(&amp;_panel_instance);
</code></pre>
<p dir="auto">}<br />
};</p>
<p dir="auto">// Create an instance of the class<br />
LGFX display;</p>
<p dir="auto">void setup(void)<br />
{<br />
display.init();<br />
display.setTextSize((std::max(display.width(), display.height()) + 255) &gt;&gt; 8);</p>
<p dir="auto">if (display.touch())<br />
{<br />
if (display.width() &lt; display.height()) display.setRotation(display.getRotation() ^ 1);</p>
<pre><code>display.setTextDatum(textdatum_t::middle_center);
display.drawString("touch the arrow marker.", display.width() &gt;&gt; 1, display.height() &gt;&gt; 1);
display.setTextDatum(textdatum_t::top_left);

std::uint16_t fg = TFT_WHITE;
std::uint16_t bg = TFT_BLACK;
if (display.isEPD()) std::swap(fg, bg);
display.calibrateTouch(nullptr, fg, bg, std::max(display.width(), display.height()) &gt;&gt; 3);
</code></pre>
<p dir="auto">}</p>
<p dir="auto">display.fillScreen(TFT_BLACK);<br />
}</p>
<p dir="auto">uint32_t count = ~0;<br />
void loop(void)<br />
{<br />
display.startWrite();<br />
display.setRotation(++count &amp; 7);<br />
display.setColorDepth((count &amp; 8) ? 16 : 24);</p>
<p dir="auto">display.setTextColor(TFT_WHITE);<br />
display.drawNumber(display.getRotation(), 16, 0);</p>
<p dir="auto">display.setTextColor(0xFF0000U);<br />
display.drawString("R", 30, 16);<br />
display.setTextColor(0x00FF00U);<br />
display.drawString("G", 40, 16);<br />
display.setTextColor(0x0000FFU);<br />
display.drawString("B", 50, 16);</p>
<p dir="auto">display.drawRect(30, 30, display.width() - 60, display.height() - 60, count * 7);<br />
display.drawFastHLine(0, 0, 10);</p>
<p dir="auto">display.endWrite();</p>
<p dir="auto">int32_t x, y;<br />
if (display.getTouch(&amp;x, &amp;y)) {<br />
display.fillRect(x - 2, y - 2, 5, 5, count * 7);<br />
}<br />
}</p>
]]></description><link>https://community.m5stack.com/post/25797</link><guid isPermaLink="true">https://community.m5stack.com/post/25797</guid><dc:creator><![CDATA[mnhj]]></dc:creator><pubDate>Tue, 09 Jul 2024 16:29:55 GMT</pubDate></item><item><title><![CDATA[Reply to lvgl on m5sack cores3 on Tue, 09 Jul 2024 06:43:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/19059">@mnhj</a> said in <a href="/post/25783">lvgl on m5sack cores3</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a> I want to use arduino ide for programing not uiflow and if you know about tft espi user setup then can you please share the configuration for m5core s3 and when I follow the sticker inside the m5core s3 the screen does not work it just stays blank and no backlight so can you share a code that works</p>
</blockquote>
<p dir="auto">show us a sample of your code which isn't working<br />
"when I follow the sticker inside the m5core s3 the screen does not work" - what is this?</p>
]]></description><link>https://community.m5stack.com/post/25784</link><guid isPermaLink="true">https://community.m5stack.com/post/25784</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Tue, 09 Jul 2024 06:43:55 GMT</pubDate></item><item><title><![CDATA[Reply to lvgl on m5sack cores3 on Mon, 08 Jul 2024 15:43:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a> I want to use arduino ide for programing not uiflow and if you know about tft espi user setup then can you please share the configuration for m5core s3 and when I follow the sticker inside the m5core s3 the screen does not work it just stays blank and no backlight so can you share a code that works</p>
]]></description><link>https://community.m5stack.com/post/25783</link><guid isPermaLink="true">https://community.m5stack.com/post/25783</guid><dc:creator><![CDATA[mnhj]]></dc:creator><pubDate>Mon, 08 Jul 2024 15:43:47 GMT</pubDate></item><item><title><![CDATA[Reply to lvgl on m5sack cores3 on Sun, 07 Jul 2024 06:39:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/19059">@mnhj</a> what do you mean by doesn't work?</p>
]]></description><link>https://community.m5stack.com/post/25773</link><guid isPermaLink="true">https://community.m5stack.com/post/25773</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 07 Jul 2024 06:39:39 GMT</pubDate></item></channel></rss>