• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 I2C Micropython Multiplexer

Q&A Forum › Category: ESP32 › ESP32 I2C Micropython Multiplexer
0 Vote Up Vote Down
self.raymond asked 3 years ago

I am doing a project that will have multiply Oled.   I can change the address on 2 of them but I want to use 4.  The module tca9548a will let me use devices with the same addresses.  I have had no luck in finding a library for this device.  Thank You for your help
Ray

1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi Ray.
I’ve searched for a while and I haven’t found a library for that module.
Adafruit has CircuitPython support for that module: https://github.com/adafruit/Adafruit_CircuitPython_TCA9548A/tree/e396d47c347a8a0441eb44f1c63ce38221642606
You can try importing the library and see if their example works. Here’s the library: https://github.com/adafruit/Adafruit_CircuitPython_TCA9548A/blob/e396d47c347a8a0441eb44f1c63ce38221642606/adafruit_tca9548a.py
Please note that I’ve never tried using circuitpython libraries on microPython, so I’m not sure if it works.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Firebase Web App with ESP32 and ESP8266 (version 1.2) April 25, 2022
  • [eBook Updated] MicroPython Programming with ESP32 and ESP8266 (version 1.3) February 7, 2022

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2022 · RandomNerdTutorials.com · All Rights Reserved