• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. tradlost.se
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    tradlost.se

    @tradlost.se

    0
    Reputation
    411
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    tradlost.se Unfollow Follow

    Latest posts made by tradlost.se

    • Adding MCP23017 on i2c

      I am building a custom board with a MCP23008 and some other gadgets. I need a way to access the i2c bus and address this chip. Since the UniPi already has one on board, there should be no problems. From what I figure out, I just make a new instance of the class UnipiMcp with the correct address. After digging into the sources, I figured out how to add a config block.

      [MCP_2]
      i2cbus = 1 ; link to I2CBUS_X
      address = 0x21 ; i2c address

      Look suspiciously similar to a EMO-R8 doesn't it?

      So I can treat my odd card just like the EMO-R8 even if it does something completely different?

      posted in Official API - Evok
      T
      tradlost.se