I am trying to take a variable measured every 2.5 seconds from a Qwiic TMP117 and display it at the same interval on a Qwiic Alphanumeric Display. This seems like a simple operation, so I’ve attempted to put two examples together here:
I can get the display to work on its own just printing a string. I can also get the sensor to send readings to the serial port on it’s own. The problem is that when I try to get them to work together with one program, neither works. The same exact functions which I use to make them work separately are in my new program, and I can’t spot any interference between the two.
My display is only printing the rightmost digit, and it prints it onto the leftmost character of the display. So for example my display shows "9 " for that last reading.
That is progress… you need to do a bit more work to display it correctly ( e.g. using sprintf to turn the value in the right format to display ) look at example6 of the display