Grow HAT slow code


Is it just me or is the Grow HAT code ( terribly slow on the PI zero? I’m getting around 1-2 FPS.

The code seems to do everthing serially (probably for ease of understanding) and it seems to me that some things could be threaded. I’m thinking data acquisition can be done on a stand-alone thread and display refresh on another. Although the CPU usage spikes, it does look like there is a lot of it to spare.

If anyone is familiar with the code, is there any reason why that cannot be done?