JeremyCook
JeremyCook
DIIDevHeads IoT Integration Server
Created by JeremyCook on 12/10/2024 in #🟩-pcb-and-analog
How to Implement Scrolling Display for MIDI Inputs on Arduino Opta with SSD1306 OLED?
Latest step in a MIDI drums project: Displaying MIDI inputs to an Arduino Opta w/ an SSD1306 OLED and my AUX adapter device https://www.tindie.com/products/35482 Wasn't too hard to get the initial display working, but wow, getting scrolling working like I wanted was a bit of a bear. I used a number of arrays to keep track of each line/value, but had to break up the display and storage into two functions. In fact, I hard-coded the array math into the storeValues function, which most programmers would probably consider pretty poor. Code is on GitHub, FWIW https://github.com/JeremySCook/arduino-experiments/blob/main/MIDI/AutoDrums/OptaAutoDrums.ino
12 replies