<?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[M5Core2 and Encoder Face]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I got my Core2 together with the rotary encoder face a few days ago. Been tinkering with it for a while, but I cant't seem to read anything from the encoder nor can i set state of the leds on the ring.</p>
<p dir="auto">I found the example for the core(1) and tried to adapt it. Here's what I got so far: <a href="https://pastebin.com/pkt7J6aB" target="_blank" rel="noopener noreferrer nofollow ugc">https://pastebin.com/pkt7J6aB</a></p>
<p dir="auto">I just added the M5.Lcd.fillScreen(0) and setCursor(0, 0) to clear the screen after 15 lines a few minutes ago and realized that the Core prints "encoder: 0   dir: ccw   button: 0" on the first line after blanking the screen and "encoder: 1   dir: ccw   button: 0" on all 14 subsequent lines. This leads me to believe I'm either writing to/reading from the wrong i2c address or maybe even to the wrong i2c port.</p>
<p dir="auto">Anybody?</p>
]]></description><link>https://community.m5stack.com/topic/2582/m5core2-and-encoder-face</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 04:16:14 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2582.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Dec 2020 22:44:12 GMT</pubDate><ttl>60</ttl></channel></rss>