<?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[M5Dial backlight control &#x2F; dimming?]]></title><description><![CDATA[<p dir="auto">Are there any functions (and/or code examples) available in the Arduino libraries to dim or turn on/off the backlight on the M5Dial?</p>
<p dir="auto">I've tried M5.Lcd.setBrightness and M5Dial.Lcd.setBrightness... both compile, but don't seem to do anything.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://community.m5stack.com/topic/6647/m5dial-backlight-control-dimming</link><generator>RSS for Node</generator><lastBuildDate>Mon, 04 May 2026 10:34:03 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6647.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 20 Jul 2024 19:41:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Dial backlight control &#x2F; dimming? on Sun, 21 Jul 2024 23:56:35 GMT]]></title><description><![CDATA[<p dir="auto">Hey thanks!</p>
<p dir="auto">So... funny story... I tried the sketch you linked and it worked fine.  Then I tried calling the M5Dial.Display.setBrightness function in my sketch, and it did nothing regardless of what number I passed to it.</p>
<p dir="auto">Long story short, I'm using Bodmer's TFT_eSPI library in my sketch and I had TFT_BL defined in the user config file.  It seems that defining that makes the TFT_eSPI library take over the backlight control pin and stops the setBrightness function from working.  Commenting out the setting of TFT_BL in that config file made the function work.</p>
]]></description><link>https://community.m5stack.com/post/25901</link><guid isPermaLink="true">https://community.m5stack.com/post/25901</guid><dc:creator><![CDATA[ELaw001]]></dc:creator><pubDate>Sun, 21 Jul 2024 23:56:35 GMT</pubDate></item><item><title><![CDATA[Reply to M5Dial backlight control &#x2F; dimming? on Sun, 21 Jul 2024 21:28:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/elaw001" aria-label="Profile: ELaw001">@<bdi>ELaw001</bdi></a></p>
<p dir="auto">please have a look at this example <a href="https://github.com/felmue/MyM5StackExamples/blob/main/M5Dial/EncAndBrightTest/EncAndBrightTest.ino" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> using encoder to dim the backlight.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/25900</link><guid isPermaLink="true">https://community.m5stack.com/post/25900</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 21 Jul 2024 21:28:20 GMT</pubDate></item></channel></rss>