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

    i2c bug

    UiFlow 2.0
    1
    1
    1.4k
    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.
    • P
      ps.oz
      last edited by ps.oz

      Using uiflow2, and i2c, I'm trying to call the following method
      i2c0.writeto(0x41, mybuf, stop=True)

      but you cant supply 'stop='
      The error produced is 'TypeError: function doesn't take keyword arguments'

      https://docs.micropython.org/en/latest/library/machine.I2C.html?highlight=i2c writeto#machine.I2C.writeto

      should be positional according to the docs
      This is with alpha version 17

      1 Reply Last reply Reply Quote 0
      • First post
        Last post