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

    Stamp-C3 and I2C

    PRODUCTS
    2
    2
    3.5k
    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.
    • BramB
      Bram
      last edited by

      Am I correct in that Stamp-C3 uses GPIO 0/1 for SDA/SCL?

      I saw it labelled as "Port-A." Does that refer to I2C?

      If it is not the default I2C, could I make it the I2C pins by doing this in the Arduino IDE?

      # define I2CSDA 0
      # define I2CSCL 1
      ...
      Wire.begin(I2CSDA, I2CSCL);
      
      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by

        Hello @Bram

        have a look at this thread.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

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