🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    I2C Error 19

    Scheduled Pinned Locked Moved UIFlow
    4 Posts 2 Posters 6.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      Flow
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • m5stackM Online
        m5stack
        last edited by

        could you paste your program screenshot here?

        1 Reply Last reply Reply Quote 0
        • F Offline
          Flow
          last edited by

          Simple code to test ENVII - I get two possible results

          1. white screen with nothing on it

          or

          1. I2C BUS ERROR 19

          Code

          from m5stack import *
          from m5stack_ui import *
          from uiflow import *
          import time
          import unit

          screen = 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)

          1 Reply Last reply Reply Quote 0
          • F Offline
            Flow
            last edited by

            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?

            1 Reply Last reply Reply Quote 1

            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
            • First post
              Last post