I browsed your code and I think the bitmap processing code is probably really inefficient. Comment out some parts to test. For example, you can use a one loaded bitmap to keep the OLED output going, then run code to load but don't process, so only the input processing code is taken out of the equation. Tests like that.
I think MicroPython has buffers etc that are more efficient than the array scheme you are using, but you'd need to find out more for yourself -- my MicroPython experience is very limited and most of my scripting experience is with Lua and Perl and I'll leave it to others to offer more concrete suggestions.
I think MicroPython has buffers etc that are more efficient than the array scheme you are using, but you'd need to find out more for yourself -- my MicroPython experience is very limited and most of my scripting experience is with Lua and Perl and I'll leave it to others to offer more concrete suggestions.
Statistics: Posted by katak255 — Sun Dec 29, 2024 12:54 am