I’d like to achieve a text scroll speed in SmartMatrix that is extremely fast.
I’m running a simplified version of the Arduino IDE example “MultipleTextLayersGfx” on an ESP32 Rover module with Hub75 panels. It’s a 64x64 config.
I am finding that the fastest scroll speed I can achieve for the continuously scrolling text “Layer00” using FreeMono12pt7b (with “speed” = 100 and “setSpeed(255)”) is about 3 seconds per loop. Is there a way to achieve a faster speed? I’ve tried tinkering with some constants in the library’s MatrixEsp32Hub75xxxx files, with items such as maxCalcCpuPercentage, but not seeing faster speeds. When I try to alter the Refresh Rate from the sketch using matrix.setRefreshRate(), I typically get a Refresh Rate indicated in Serial Monitor of one-half the value I try to set. (e.g. set it to 240, see it set to 120.) It looks like the library MatrixESP32Hub75Calc_Impl.h is increasing a CPU divider based on it seeing too much CPU time used with the higher attempted Refresh Rate.
Since it looks like I’m probably going down a dead end with that idea, can you recommend any other ideas for speeding up the actually observed scroll speed? Ideally I’d like a max scroll speed (when selecting setSpeed(255)) that’s so fast it’s barely readable, and then I’d just throttle down from that with adjustable settings to allow for very fast options.