Hi, olikraus! I am having issues with the ST7735 using Ucglib. I am using my display to show values calculated from a lot of potentiometers and the values are very widely spread over the display (I am using the 160x128 display from Adafruit). For some reason, I am having very slow update speeds. I can give you my code and show you what I have been doing.
CODE ON THE MAIN LOOP:
for (int i = 0; i < 4; i++) {
filters[i].setTextFrequency(String(map(filters[i].frequencyReading(), 0, 1023, 40, 800)));
filters[i].setTextDB(String(mapFloat(filters[i].dbReading(), 0.0, 1023.0, -10.0, 10.0)));
filters[i].setTextQ(String(map(filters[i].qReading(), 0, 1023, 0, 100)));
filters[i].updateDigitpots(); // This function does not work on the hardware SPI bus, but on a separate software SPI bus and is completely unrelated to normal Ucglib operations.
}
CODE FOR setTextFrequency, setTextDB and setTextQ:
Hi, olikraus! I am having issues with the ST7735 using Ucglib. I am using my display to show values calculated from a lot of potentiometers and the values are very widely spread over the display (I am using the 160x128 display from Adafruit). For some reason, I am having very slow update speeds. I can give you my code and show you what I have been doing.
CODE ON THE MAIN LOOP:
CODE FOR
setTextFrequency, setTextDB
andsetTextQ
:Note:
_displayHandler
is the UCG display controller. Thank your for your time and your great library!