using multiple alphanumeric displays

i am attempting to use 3 different alphanumeric displays to show data from an analog sensor. i have 3 different sensors so i want each one to show up on its own display. i have already set up the displays to work in tandem with one another and when typing words everything seems to work out fine. however, how to i tell each display to look at a different variable to display rather than just a string of word. thank you for any help you can provide

You’ll have to address each display individually (each on their own ‘bus’) for that to work…then just send the display data to each one separately

how would i do that? i set them to print on the multiple displays, but how do i send it to each individual bus?

https://learn.sparkfun.com/tutorials/sp … -fun-stuff

i have looked those tutorials up and down. the values i am using still wont go on the second display unless the value is greater than 4 digits. my issue is trying to get 2 separate sensor values onto 2 separate displays

Create separate variables for each display

HT16K33 display1, display2;

Initialize each of them

if (display1.begin(0x70) == false)

{

Serial.println(“Device 1 did not acknowledge! Freezing.”);

while(1);

}

if (display2.begin(0x71) == false)

{

Serial.println(“Device 2 did not acknowledge! Freezing.”);

while(1);

}

then output the right data to each one

display1.print(val1);

display2.print(val2);

holy… thank you! this is exactly what i needed. you’re a lifesaver