<?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[i2c driver install error]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1735245236411-dda9c819-581d-4f1a-92f9-8db984efbf9d-image.png" alt="dda9c819-581d-4f1a-92f9-8db984efbf9d-image.png" class=" img-fluid img-markdown" /> i dont know how to fix it, ive tried two versions of uiflow and theres nothing on youtube or google or any stuff like that. any help?</p>
]]></description><link>https://community.m5stack.com/topic/7118/i2c-driver-install-error</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Mar 2026 10:21:49 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7118.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Dec 2024 20:34:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to i2c driver install error on Fri, 26 Sep 2025 09:09:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/352660">@mearsuit</a> i see this error from some time but projects are working ok</p>
]]></description><link>https://community.m5stack.com/post/30005</link><guid isPermaLink="true">https://community.m5stack.com/post/30005</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Fri, 26 Sep 2025 09:09:50 GMT</pubDate></item><item><title><![CDATA[Reply to i2c driver install error on Thu, 25 Sep 2025 22:28:33 GMT]]></title><description><![CDATA[<p dir="auto">yep...Same problem, i cant upload any python code without getting this error. Its a shame because its a really neat dev board and i really wish the people at m5stack would fix this problem. They would begin to see more projects being posted on the m5burner and it would only help their sales. <img src="/assets/uploads/files/1758839272930-screenshot_2025-09-25_18-21-33.png" alt="Screenshot_2025-09-25_18-21-33.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/30004</link><guid isPermaLink="true">https://community.m5stack.com/post/30004</guid><dc:creator><![CDATA[mearsuit]]></dc:creator><pubDate>Thu, 25 Sep 2025 22:28:33 GMT</pubDate></item><item><title><![CDATA[Reply to i2c driver install error on Wed, 03 Sep 2025 14:32:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/168201">@kuriko</a> Several months have passed since this post, but the error persists. Do you really plan to fix it?!<br />
<img src="/assets/uploads/files/1756909971837-error_i2c.png" alt="error_i2c.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/29886</link><guid isPermaLink="true">https://community.m5stack.com/post/29886</guid><dc:creator><![CDATA[Hulkco]]></dc:creator><pubDate>Wed, 03 Sep 2025 14:32:57 GMT</pubDate></item><item><title><![CDATA[Reply to i2c driver install error on Fri, 10 Jan 2025 17:56:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/168201">@kuriko</a></p>
<p dir="auto">This is the file.</p>
<p dir="auto"><img src="/assets/uploads/files/1736531730648-uiflow2_block_1736531673251.png" alt="uiflow2_block_1736531673251.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.m5stack.com/post/27840</link><guid isPermaLink="true">https://community.m5stack.com/post/27840</guid><dc:creator><![CDATA[Calvorotas]]></dc:creator><pubDate>Fri, 10 Jan 2025 17:56:16 GMT</pubDate></item><item><title><![CDATA[Reply to i2c driver install error on Wed, 08 Jan 2025 21:12:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/168201">@kuriko</a></p>
<p dir="auto">Hello,</p>
<p dir="auto">There is a few days ago, I wrote a similar trouble.  My message was…</p>
<p dir="auto">Hello,</p>
<p dir="auto">I didn't think that I could feel so interested about this system! Sorry for my questions about, because I'm very unexpert.</p>
<p dir="auto">I'm math teacher in secondary in Spain, and I want to prepare a trigonometric practice very simple.</p>
<p dir="auto">I've used a potenciometer (angle unit), PaHUB, PbHUB, 8servos unit, and two servos: one 360º limited, and another one, 360º unlimited. Until this moment, all was right. But, I've done some little changes, I wasn't conscient that, when I erased the PaHUB unit, and I added another one, some address changed. I reviewed all the program, and I think that it should run. But, I don't know why now, when my program is running, at the end of compilation, it appears this message "E (112496) i2c: i2c driver install error".</p>
<p dir="auto">Thank you for your attention</p>
<p dir="auto">Please, does someone aid me?</p>
<p dir="auto">Thank you for my poor English. Best regards!</p>
<p dir="auto">Neus</p>
]]></description><link>https://community.m5stack.com/post/27816</link><guid isPermaLink="true">https://community.m5stack.com/post/27816</guid><dc:creator><![CDATA[nmstack]]></dc:creator><pubDate>Wed, 08 Jan 2025 21:12:42 GMT</pubDate></item><item><title><![CDATA[Reply to i2c driver install error on Tue, 07 Jan 2025 19:31:06 GMT]]></title><description><![CDATA[<p dir="auto">Same issue here with Atom Echo and the Web UIFlow 2.0</p>
<p dir="auto"><a href="https://gist.github.com/e3e6/f8558f8487dad2fe8909c8dc17b80888" target="_blank" rel="noopener noreferrer nofollow ugc">https://gist.github.com/e3e6/f8558f8487dad2fe8909c8dc17b80888</a></p>
]]></description><link>https://community.m5stack.com/post/27801</link><guid isPermaLink="true">https://community.m5stack.com/post/27801</guid><dc:creator><![CDATA[_e3e6]]></dc:creator><pubDate>Tue, 07 Jan 2025 19:31:06 GMT</pubDate></item><item><title><![CDATA[Reply to i2c driver install error on Mon, 06 Jan 2025 06:54:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/48">@Calvorotas</a><br />
can you provide the .m5f2 file? imma do a test to check out if it's a firmware problem</p>
]]></description><link>https://community.m5stack.com/post/27775</link><guid isPermaLink="true">https://community.m5stack.com/post/27775</guid><dc:creator><![CDATA[kuriko]]></dc:creator><pubDate>Mon, 06 Jan 2025 06:54:52 GMT</pubDate></item><item><title><![CDATA[Reply to i2c driver install error on Sat, 04 Jan 2025 16:42:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/48">@Calvorotas</a></p>
<p dir="auto">Hi,</p>
<p dir="auto">Another program without BLE.</p>
<p dir="auto"><img src="/assets/uploads/files/1736008860159-31e147da-4a20-4af5-a587-800d7cfbf728-image.png" alt="31e147da-4a20-4af5-a587-800d7cfbf728-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I am not using MQTT in this program.</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://community.m5stack.com/post/27763</link><guid isPermaLink="true">https://community.m5stack.com/post/27763</guid><dc:creator><![CDATA[Calvorotas]]></dc:creator><pubDate>Sat, 04 Jan 2025 16:42:19 GMT</pubDate></item><item><title><![CDATA[Reply to i2c driver install error on Sat, 04 Jan 2025 16:27:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have problems with UiFlow 2.2.0.</p>
<p dir="auto">I could use BLE with UiFlow 2.1.8, but the same program doesn't run in 2.2.0.</p>
<p dir="auto"><img src="/assets/uploads/files/1736007749385-348a7ac3-3413-4555-ba25-0e196479e2fa-image.png" alt="348a7ac3-3413-4555-ba25-0e196479e2fa-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1736007797658-74c1e933-1bcc-44f5-9594-8abd8e1e812d-image.png" alt="74c1e933-1bcc-44f5-9594-8abd8e1e812d-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The progam can't start. The device return at Uiflow main menu.</p>
<p dir="auto">I have update UiFlow in the devices (Core M5stack and StickC, but I have the same problem.</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://community.m5stack.com/post/27762</link><guid isPermaLink="true">https://community.m5stack.com/post/27762</guid><dc:creator><![CDATA[Calvorotas]]></dc:creator><pubDate>Sat, 04 Jan 2025 16:27:08 GMT</pubDate></item><item><title><![CDATA[Reply to i2c driver install error on Sat, 04 Jan 2025 01:27:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/21810">@kmk68</a><br />
Can you export .m5f2 file on UiFlow2?</p>
]]></description><link>https://community.m5stack.com/post/27753</link><guid isPermaLink="true">https://community.m5stack.com/post/27753</guid><dc:creator><![CDATA[kuriko]]></dc:creator><pubDate>Sat, 04 Jan 2025 01:27:41 GMT</pubDate></item><item><title><![CDATA[Reply to i2c driver install error on Fri, 03 Jan 2025 10:39:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/168201">@kuriko</a> it's created by block editing...</p>
<p dir="auto">import os, sys, io<br />
import M5<br />
from M5 import *<br />
from label_plus import LabelPlus<br />
from hardware import *<br />
import time<br />
from unit import EncoderUnit</p>
<p dir="auto">label0 = None<br />
label1 = None<br />
label2 = None<br />
label3 = None<br />
BtnA = None<br />
BtnB = None<br />
BtnC = None<br />
rect0 = None<br />
rect1 = None<br />
rect2 = None<br />
rect3 = None<br />
rect4 = None<br />
rect5 = None<br />
rect6 = None<br />
rect7 = None<br />
rect8 = None<br />
rect9 = None<br />
rect10 = None<br />
rect11 = None<br />
rect12 = None<br />
rect13 = None<br />
rect14 = None<br />
rect15 = None<br />
rect16 = None<br />
rect17 = None<br />
rect18 = None<br />
rect19 = None<br />
label7 = None<br />
label8 = None<br />
label9 = None<br />
label10 = None<br />
label11 = None<br />
label12 = None<br />
label13 = None<br />
LA_4 = None<br />
LA_3 = None<br />
LA_2 = None<br />
LA_1 = None<br />
LB_4 = None<br />
LB_3 = None<br />
LB_2 = None<br />
LB_1 = None<br />
LC_4 = None<br />
LC_3 = None<br />
LC_2 = None<br />
LC_1 = None<br />
pin3 = None<br />
pin1 = None<br />
pin2 = None<br />
pin5 = None<br />
i2c1 = None<br />
pin25 = None<br />
pin26 = None<br />
pin35 = None<br />
pin36 = None<br />
encoder_0 = None</p>
<p dir="auto">l_enc_inc = None<br />
INT_clock = None<br />
t_values = None<br />
enc_mode = None<br />
curr_value = None<br />
loc_value = None</p>
<h1>Describe this function...</h1>
<p dir="auto">def init_all_out_pins_as_():<br />
global l_enc_inc, INT_clock, t_values, enc_mode, curr_value, loc_value, label0, label1, label2, label3, BtnA, BtnB, BtnC, rect0, rect1, rect2, rect3, rect4, rect5, rect6, rect7, rect8, rect9, rect10, rect11, rect12, rect13, rect14, rect15, rect16, rect17, rect18, rect19, label7, label8, label9, label10, label11, label12, label13, LA_4, LA_3, LA_2, LA_1, LB_4, LB_3, LB_2, LB_1, LC_4, LC_3, LC_2, LC_1, pin3, pin1, pin2, pin5, i2c1, pin25, pin26, pin35, pin36, encoder_0<br />
pin3 = Pin(3, mode=Pin.OUT, pull=Pin.PULL_UP)<br />
pin1 = Pin(1, mode=Pin.OUT, pull=Pin.PULL_UP)<br />
pin2 = Pin(2, mode=Pin.OUT, pull=Pin.PULL_UP)<br />
pin5 = Pin(5, mode=Pin.OUT, pull=Pin.PULL_UP)<br />
pin25 = Pin(25, mode=Pin.OUT, pull=Pin.PULL_UP)<br />
pin26 = Pin(26, mode=Pin.OUT, pull=Pin.PULL_UP)<br />
pin35 = Pin(35, mode=Pin.OUT, pull=Pin.PULL_UP)<br />
pin36 = Pin(36, mode=Pin.OUT, pull=Pin.PULL_UP)</p>
<h1>Describe this function...</h1>
<p dir="auto">def relay_outs_pin_set():<br />
global l_enc_inc, INT_clock, t_values, enc_mode, curr_value, loc_value, label0, label1, label2, label3, BtnA, BtnB, BtnC, rect0, rect1, rect2, rect3, rect4, rect5, rect6, rect7, rect8, rect9, rect10, rect11, rect12, rect13, rect14, rect15, rect16, rect17, rect18, rect19, label7, label8, label9, label10, label11, label12, label13, LA_4, LA_3, LA_2, LA_1, LB_4, LB_3, LB_2, LB_1, LC_4, LC_3, LC_2, LC_1, pin3, pin1, pin2, pin5, i2c1, pin25, pin26, pin35, pin36, encoder_0<br />
if t_values[-1] == INT_clock:<br />
pin3.value(1)<br />
if t_values[0] == INT_clock:<br />
pin1.value(1)<br />
if t_values[1] == INT_clock:<br />
pin2.value(1)<br />
if t_values[2] == INT_clock:<br />
pin5.value(1)<br />
if t_values[3] == INT_clock:<br />
pin25.value(1)<br />
if t_values[4] == INT_clock:<br />
pin26.value(1)<br />
if t_values[5] == INT_clock:<br />
pin35.value(1)<br />
if t_values[6] == INT_clock:<br />
pin36.value(1)<br />
if t_values[7] == INT_clock:<br />
pin25.value(0)<br />
if t_values[8] == INT_clock:<br />
pin26.value(0)<br />
if t_values[9] == INT_clock:<br />
pin35.value(0)<br />
if t_values[10] == INT_clock:<br />
pin36.value(0)<br />
if t_values[7] + 25 == INT_clock:<br />
pin3.value(0)<br />
if t_values[8] + 25 == INT_clock:<br />
pin1.value(0)<br />
if t_values[9] + 25 == INT_clock:<br />
pin2.value(0)<br />
if t_values[10] + 25 == INT_clock:<br />
pin5.value(0)</p>
<h1>Describe this function...</h1>
<p dir="auto">def all_out_pins_to_zero():<br />
global l_enc_inc, INT_clock, t_values, enc_mode, curr_value, loc_value, label0, label1, label2, label3, BtnA, BtnB, BtnC, rect0, rect1, rect2, rect3, rect4, rect5, rect6, rect7, rect8, rect9, rect10, rect11, rect12, rect13, rect14, rect15, rect16, rect17, rect18, rect19, label7, label8, label9, label10, label11, label12, label13, LA_4, LA_3, LA_2, LA_1, LB_4, LB_3, LB_2, LB_1, LC_4, LC_3, LC_2, LC_1, pin3, pin1, pin2, pin5, i2c1, pin25, pin26, pin35, pin36, encoder_0<br />
pin3.value(0)<br />
pin1.value(0)<br />
pin2.value(0)<br />
pin5.value(0)<br />
pin25.value(0)<br />
pin26.value(0)<br />
pin35.value(0)<br />
pin36.value(0)</p>
<p dir="auto">def setup():<br />
global label0, label1, label2, label3, BtnA, BtnB, BtnC, rect0, rect1, rect2, rect3, rect4, rect5, rect6, rect7, rect8, rect9, rect10, rect11, rect12, rect13, rect14, rect15, rect16, rect17, rect18, rect19, label7, label8, label9, label10, label11, label12, label13, LA_4, LA_3, LA_2, LA_1, LB_4, LB_3, LB_2, LB_1, LC_4, LC_3, LC_2, LC_1, pin3, pin1, pin2, pin5, i2c1, pin25, pin26, pin35, pin36, encoder_0, l_enc_inc, INT_clock, t_values, enc_mode, curr_value, loc_value</p>
<p dir="auto">M5.begin()<br />
Widgets.fillScreen(0x222222)<br />
label0 = Widgets.Label("Key 1", 4, 185, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu12)<br />
label1 = Widgets.Label("Key 1", 4, 135, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu12)<br />
label2 = Widgets.Label("Key 2", 5, 85, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu12)<br />
label3 = Widgets.Label("Key 4", 5, 35, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu12)<br />
BtnA = Widgets.Label("A", 60, 222, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu18)<br />
BtnB = Widgets.Label("B", 150, 222, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu18)<br />
BtnC = Widgets.Label("C", 240, 222, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu18)<br />
rect0 = Widgets.Rectangle(100, 40, 40, 25, 0xffffff, 0x0f0957)<br />
rect1 = Widgets.Rectangle(143, 40, 40, 25, 0xffffff, 0x0f0957)<br />
rect2 = Widgets.Rectangle(186, 40, 40, 25, 0xffffff, 0x0f0957)<br />
rect3 = Widgets.Rectangle(229, 40, 40, 25, 0xffffff, 0x0f0957)<br />
rect4 = Widgets.Rectangle(100, 68, 40, 25, 0xffffff, 0x0f0957)<br />
rect5 = Widgets.Rectangle(143, 68, 40, 25, 0xffffff, 0x0f0957)<br />
rect6 = Widgets.Rectangle(186, 68, 40, 25, 0xffffff, 0x0f0957)<br />
rect7 = Widgets.Rectangle(229, 68, 40, 25, 0xffffff, 0x0f0957)<br />
rect8 = Widgets.Rectangle(100, 96, 40, 25, 0xffffff, 0x0f0957)<br />
rect9 = Widgets.Rectangle(100, 124, 40, 25, 0xffffff, 0x0f0957)<br />
rect10 = Widgets.Rectangle(100, 152, 40, 25, 0xffffff, 0x0f0957)<br />
rect11 = Widgets.Rectangle(143, 96, 40, 25, 0xffffff, 0x0f0957)<br />
rect12 = Widgets.Rectangle(186, 96, 40, 25, 0xffffff, 0x0f0957)<br />
rect13 = Widgets.Rectangle(229, 96, 40, 25, 0xffffff, 0x0f0957)<br />
rect14 = Widgets.Rectangle(143, 124, 40, 25, 0xffffff, 0x0f0957)<br />
rect15 = Widgets.Rectangle(186, 124, 40, 25, 0xffffff, 0x0f0957)<br />
rect16 = Widgets.Rectangle(229, 124, 40, 25, 0xffffff, 0x0f0957)<br />
rect17 = Widgets.Rectangle(143, 152, 40, 25, 0xffffff, 0x0f0957)<br />
rect18 = Widgets.Rectangle(186, 152, 40, 25, 0xffffff, 0x0f0957)<br />
rect19 = Widgets.Rectangle(229, 152, 40, 25, 0xffffff, 0x0f0957)<br />
label7 = Widgets.Label("A", 159, 46, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu12)<br />
label8 = Widgets.Label("B", 202, 46, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu12)<br />
label9 = Widgets.Label("C", 243, 46, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu12)<br />
label10 = Widgets.Label("K4", 112, 74, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu12)<br />
label11 = Widgets.Label("K3", 113, 102, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu12)<br />
label12 = Widgets.Label("K2", 113, 129, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu12)<br />
label13 = Widgets.Label("K1", 113, 157, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu12)<br />
LA_4 = LabelPlus("0,0", 153, 74, 1.0, 0x9aff00, 0x000000, Widgets.FONTS.DejaVu12, "http://", 3000, False, None, "error", 0xFF0000)<br />
LA_3 = LabelPlus("0,0", 153, 102, 1.0, 0x9aff00, 0x000000, Widgets.FONTS.DejaVu12, "http://", 3000, False, None, "error", 0xFF0000)<br />
LA_2 = LabelPlus("0,0", 153, 129, 1.0, 0x9aff00, 0x000000, Widgets.FONTS.DejaVu12, "http://", 3000, False, None, "error", 0xFF0000)<br />
LA_1 = LabelPlus("0,0", 153, 157, 1.0, 0x9aff00, 0x000000, Widgets.FONTS.DejaVu12, "http://", 3000, False, None, "error", 0xFF0000)<br />
LB_4 = LabelPlus("0,0", 195, 74, 1.0, 0x9aff00, 0x000000, Widgets.FONTS.DejaVu12, "http://", 3000, False, None, "error", 0xFF0000)<br />
LB_3 = LabelPlus("0,0", 195, 102, 1.0, 0x9aff00, 0x000000, Widgets.FONTS.DejaVu12, "http://", 3000, False, None, "error", 0xFF0000)<br />
LB_2 = LabelPlus("0,0", 195, 129, 1.0, 0x9aff00, 0x000000, Widgets.FONTS.DejaVu12, "http://", 3000, False, None, "error", 0xFF0000)<br />
LB_1 = LabelPlus("0,0", 195, 157, 1.0, 0x9aff00, 0x000000, Widgets.FONTS.DejaVu12, "http://", 3000, False, None, "error", 0xFF0000)<br />
LC_4 = LabelPlus("0,0", 239, 74, 1.0, 0x9aff00, 0x000000, Widgets.FONTS.DejaVu12, "http://", 3000, False, None, "error", 0xFF0000)<br />
LC_3 = LabelPlus("0,0", 239, 102, 1.0, 0x9aff00, 0x000000, Widgets.FONTS.DejaVu12, "http://", 3000, False, None, "error", 0xFF0000)<br />
LC_2 = LabelPlus("0,0", 239, 129, 1.0, 0x9aff00, 0x000000, Widgets.FONTS.DejaVu12, "http://", 3000, False, None, "error", 0xFF0000)<br />
LC_1 = LabelPlus("0,0", 239, 157, 1.0, 0x9aff00, 0x000000, Widgets.FONTS.DejaVu12, "http://", 3000, False, None, "error", 0xFF0000)</p>
<p dir="auto">init_all_out_pins_as_()<br />
all_out_pins_to_zero()<br />
i2c1 = I2C(1, scl=Pin(22), sda=Pin(21), freq=100000)<br />
t_values = bytearray(12)<br />
enc_mode = 0<br />
curr_value = 0<br />
INT_clock = 0<br />
encoder_0 = EncoderUnit(i2c1, 0x40)</p>
<p dir="auto">def loop():<br />
global label0, label1, label2, label3, BtnA, BtnB, BtnC, rect0, rect1, rect2, rect3, rect4, rect5, rect6, rect7, rect8, rect9, rect10, rect11, rect12, rect13, rect14, rect15, rect16, rect17, rect18, rect19, label7, label8, label9, label10, label11, label12, label13, LA_4, LA_3, LA_2, LA_1, LB_4, LB_3, LB_2, LB_1, LC_4, LC_3, LC_2, LC_1, pin3, pin1, pin2, pin5, i2c1, pin25, pin26, pin35, pin36, encoder_0, l_enc_inc, INT_clock, t_values, enc_mode, curr_value, loc_value<br />
M5.update()<br />
time.sleep_us(20)<br />
if INT_clock == 0:<br />
time.sleep_ms(99)<br />
INT_clock = INT_clock + 1<br />
relay_outs_pin_set()<br />
l_enc_inc = encoder_0.get_rotary_increments()<br />
if encoder_0.get_button_status():<br />
encoder_0.fill_color(0x990000)<br />
enc_mode = 1<br />
if l_enc_inc != 0:<br />
curr_value = curr_value + l_enc_inc<br />
while curr_value &lt; 0:<br />
curr_value = curr_value + 12<br />
while curr_value &gt; 11:<br />
curr_value = curr_value - 12<br />
else:<br />
encoder_0.fill_color(0x000066)<br />
enc_mode = 0<br />
if l_enc_inc != 0:<br />
loc_value = t_values[int(curr_value - 1)] + l_enc_inc<br />
if loc_value &lt; 0:<br />
loc_value = 0<br />
if loc_value &gt; 99:<br />
loc_value = 99<br />
t_values[int(curr_value - 1)] = loc_value<br />
if curr_value==0:<br />
LA_4.setText(str(((str((loc_value / 10))).strip())))<br />
elif curr_value==1:<br />
LA_3.setText(str(((str((loc_value / 10))).strip())))<br />
elif curr_value==2:<br />
LA_2.setText(str(((str((loc_value / 10))).strip())))<br />
elif curr_value==3:<br />
LA_1.setText(str(((str((loc_value / 10))).strip())))<br />
elif curr_value==4:<br />
LB_4.setText(str(((str((loc_value / 10))).strip())))<br />
elif curr_value==5:<br />
LB_3.setText(str(((str((loc_value / 10))).strip())))<br />
elif curr_value==6:<br />
LB_2.setText(str(((str((loc_value / 10))).strip())))<br />
elif curr_value==7:<br />
LB_1.setText(str(((str((loc_value / 10))).strip())))<br />
elif curr_value==8:<br />
LC_4.setText(str(((str((loc_value / 10))).strip())))<br />
elif curr_value==9:<br />
LC_3.setText(str(((str((loc_value / 10))).strip())))<br />
elif curr_value==10:<br />
LC_2.setText(str(((str((loc_value / 10))).strip())))<br />
elif curr_value==11:<br />
LC_1.setText(str(((str((loc_value / 10))).strip())))<br />
else:<br />
pass</p>
<p dir="auto">if <strong>name</strong> == '<strong>main</strong>':<br />
try:<br />
setup()<br />
while True:<br />
loop()<br />
except (Exception, KeyboardInterrupt) as e:<br />
try:<br />
from utility import print_error_msg<br />
print_error_msg(e)<br />
except ImportError:<br />
print("please update to latest firmware")</p>
]]></description><link>https://community.m5stack.com/post/27740</link><guid isPermaLink="true">https://community.m5stack.com/post/27740</guid><dc:creator><![CDATA[kmk68]]></dc:creator><pubDate>Fri, 03 Jan 2025 10:39:40 GMT</pubDate></item><item><title><![CDATA[Reply to i2c driver install error on Fri, 03 Jan 2025 08:12:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/21810">@kmk68</a><br />
Are you able to show your code?</p>
]]></description><link>https://community.m5stack.com/post/27739</link><guid isPermaLink="true">https://community.m5stack.com/post/27739</guid><dc:creator><![CDATA[kuriko]]></dc:creator><pubDate>Fri, 03 Jan 2025 08:12:55 GMT</pubDate></item><item><title><![CDATA[Reply to i2c driver install error on Fri, 03 Jan 2025 07:55:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/168201">@kuriko</a> Yes, it affects. The program does not start on my M5 Core after this message....</p>
]]></description><link>https://community.m5stack.com/post/27738</link><guid isPermaLink="true">https://community.m5stack.com/post/27738</guid><dc:creator><![CDATA[kmk68]]></dc:creator><pubDate>Fri, 03 Jan 2025 07:55:42 GMT</pubDate></item><item><title><![CDATA[Reply to i2c driver install error on Sat, 04 Jan 2025 01:18:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/205367">@LucidXVR</a><br />
known issue, seems doesn't affect anything, will fix it soon</p>
]]></description><link>https://community.m5stack.com/post/27590</link><guid isPermaLink="true">https://community.m5stack.com/post/27590</guid><dc:creator><![CDATA[kuriko]]></dc:creator><pubDate>Sat, 04 Jan 2025 01:18:20 GMT</pubDate></item></channel></rss>