[sdiy] Fast lcd display like digitakt
Benjamin Tremblay
btremblay at me.com
Thu Jun 20 15:07:56 CEST 2024
What a difference a driver can make.
I switched to the Arduino-GFX library (from Adafruit) and now rendering is so fast that I must slow it down.
If the drawing is simple enough I do not need a canvas because everything is updated within refresh rate.
I am hopeful that I can draw a “page” of virtual knobs with values and labels and be able to switch pages efficiently.
I learned a lot trying to implement the Alesis Micron nrpn set. There are so many parameters that only a Teensy had enough ram to handle the C++ objects I created;
I went back to using structs and procedural code. (I ported this from a Kaluma.js project I was doing for the Micron and it was all OOP. It ran of of memory, too. So I went back to the JavaScript project and also did away with OOP, referenced a single JS object for all the state, and it works better, too. Main problem is there’s no RAM left over for a display in the Kaluma project.) Thought for the day: JavaScript web programmers are lazy pigs who think nothing of having tens of megabytes to draw a sorted drop-down list.
Now I need to figure out how I want to show which page I am on and make it easy to navigate.
> On Jun 18, 2024, at 11:41 PM, Benjamin Tremblay <btremblay at me.com> wrote:
>
> Even my virtual knobs get too cramped on their virtual panel. But graphics programming is fun.
> I need higher resolution than 320x240.
>
> <IMG_2100.jpeg>
>
>
>
> Benjamin Tremblay
More information about the Synth-diy
mailing list