Hello,
I am currently working on a what some would probably consider a simple project where I’d like to use (2) [SparkFun Qwiic Micro OLED Breakout products as well as a [SparkFun Qwiic Mux Breakout - 8 Channel (TCA9548A). This project intends to display a count, via a tactile switch, with each OLED (1 button per OLED).
I want to use the Mux Breakout since the Micro OLED product page recommends its use. So, I have some rather specific questions regarding using these two products in combination, listed below. But, in all honesty, since I am only using (2) Micro OLED products, am I just better off adjusting their addresses through a means of soldering?
Micro OLED Library use and PIN_RESET with MUX use:
After reading the Micro OLED documentation, I understand that there needs to be a reset pin defined for the SFE_MicroOLED.h library use. Would I need to have one reset pin defined with the MUX use, or will I define two separate PIN_RESET?
MUX port enable:
I am sorry if this is a rather amateur question to ask; as I try to understand the Mux’s port enablement, I am not confident in my start, so I would appreciate any feedback on the code snippet provided. But, I completely understand if that’s not possible because this is a somewhat open-ended request.
#define NUMBER_OF_SENSORS 2
void setup()
{
  Serial.begin(115200);
  Serial.println("Score Counter");
  Wire.begin();
  //Initialize player one oled display
  for (byte 0)
  {
    enableMuxPort(0); //Tell mux to connect to port X
    playeroneoleddisplay.init(); //Init the display connected to this port
    disableMuxPort(0);
  }
  //Initialize player two oled display
  for (byte 1)
  {
    enableMuxPort(1); //Tell mux to connect to port X
    playertwooleddisplay.init(); //Init the display connected to this port
    disableMuxPort(1);
  }
  Serial.println("Mux is online");
}
I know this topic has a lot of going on, but I appreciate your time for looking and any response that is given!](SparkFun Qwiic Mux Breakout - 8 Channel (TCA9548A) - BOB-16784 - SparkFun Electronics)](SparkFun Micro OLED Breakout (Qwiic) - LCD-22495 - SparkFun Electronics)