[sdiy] Fast lcd display like digitakt

René Schmitz synth at schmitzbits.de
Sun Jun 16 15:30:12 CEST 2024


On 16.06.2024 02:46, Benjamin Tremblay via Synth-diy wrote:
> I’ve been working on some virtual synth code, and also learning how to send nrpn midi messages. It’s all going well but for midi controller and synth projects I envision a paged Oled display with virtual knob animation and maybe a touchscreen.
> What kind of hardware do I need for this? I purchased 2” and 3” displays from Amazon and tried out sample code on an arduino mega and then ran it on a Teensy LC.  I have a teensy 4 and a pico and some Stm32F401 boards.
> I am using the Adafruit gfx library and so far using an offscreen canvas is too slow.

Some thoughts to this:

Program the display directly.

These gfx libs are often layers over layers. Because they cater for 
dozens of different displays you end up with the least common 
denominator and that is not always the fastest. Also some have a large 
memory footprint.

Repaint only what changes rather then the whole screen from an offscreen 
buffer. (which also eats available RAM)

Understand where your bottleneck really is. Could be the communications 
speed SPI.

Sometimes you have more than one thing slowing you down.


Best,

  René


-- 

synth at schmitzbits.de
http://schmitzbits.de



More information about the Synth-diy mailing list