I2C Error 19
-
i have an M5Stack Core 2 with ENVII sensor (Temperature and Humidity). I have not managed to get it to function using Blockly. Error message I2C bus error 19.
Running 1.85 version with UI Flow 1.7.5.
Any help would be appreciated.
-
could you paste your program screenshot here?
-
Simple code to test ENVII - I get two possible results
- white screen with nothing on it
or
- I2C BUS ERROR 19
Code
from m5stack import *
from m5stack_ui import *
from uiflow import *
import time
import unitscreen = M5Screen()
screen.clean_screen()
screen.set_screen_bg_color(0xd37272)
env20 = unit.get(unit.ENV2, unit.PORTA)label0 = M5Label('Temperature', x=22, y=45, color=0x000, font=FONT_MONT_24, parent=None)
screen.set_screen_bg_color(0xffff66)
while True:
label0.set_text(str(env20.temperature))
wait(10)
screen.clean_screen()
wait(3)
wait_ms(2) -
I have found that connecting the ENVIRO module to the Core 2 causes the M5 to lock up. White screen and nothing else.
Is the issue with the module or software? Is there a Driver issue?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login