• 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 6 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 6 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] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

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

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

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.