Mulitple QwiicC Segment Displays

Hi,

I have daisy chained three Qwiic segment displays together and have soldered the relevant jumpers, they are addressed as: 0x70, 0x71 and 0x72.

I would like to have each display act separately, one displaying temperature, one displaying amps, and the third screen displaying voltage.

I have found a number of code examples to scroll text across multiple screens, but I can not find any code examples of how to print on each screen individually. Am i missing something?

I think the Example_08_MultiDisplay will help you:

I would try to make for each display an instance so they can be addressed separately.

Something like

 #include <Wire.h
 
 #include <SparkFun_Alphanumeric_Display.h  //Click here to get the library: http://librarymanager/All#Alphanumeric_Display by SparkFun
 HT16K33 display1;
 HT16K33 display2;
 HT16K33 display3;
 HT16K33 display4;
 
 void setup() {
   Serial.begin(115200);
   Serial.println("Qwiic Alphanumeric examples");
   Wire.begin(); //Join I2C bus
 
   //check if displays will acknowledge
   if (display1.begin(0x70) == false)
   {
     Serial.println("Device1 did not acknowledge! Freezing.");
     while(1);
   }
 
   if (display2.begin(0x71) == false)
   {
     Serial.println("Device2 did not acknowledge! Freezing.");
     while(1);
   }
 
   if (display3.begin(0x72) == false)
   {
     Serial.println("Device3 did not acknowledge! Freezing.");
     while(1);
   }
 
   if (display4.begin(0x73) == false)
   {
     Serial.println("Device4 did not acknowledge! Freezing.");
     while(1);
   }
 
   Serial.println("Displays acknowledged."); 
  
   display1.print("ds1");
   display2.print("ds2");
   display3.print("ds3");
   display4.print("ds4");
 }

loop()
{
}

Works. Thanks!