Control-Surface icon indicating copy to clipboard operation
Control-Surface copied to clipboard

8 SSD1306 OLED Displays connected to TCA9548 I2C to Display DAW information like CC changes of tracks ect

Open CriusDigitalStudio opened this issue 1 year ago • 2 comments

I have connected SSD1306 OLED Displays with a TCA9548 8 channel I2C multiplexer to an Arduino Pro Micro. I want to display in each OLED information from each of the 8 tracks in my DAW. I used Control_Surface_MIDI_MONITOR.ino and the Serial Monitor gets the information I want. How can I make these information from the Serial Monitor to be Displayed to the OLEDs?

BTW you have made an AWSOME job with this Library!

CriusDigitalStudio avatar Aug 03 '22 13:08 CriusDigitalStudio

Do you mean you want to show all incoming MIDI events on the displays like the MIDI monitor example?

In that case, you can use the MIDI input callbacks (Ex#1, Ex#2), and then use print statements similar to what I used here:

https://github.com/tttapa/Control-Surface/blob/ebec32b97fd474ba21cb1e31b7a06ea7200233c1/src/MIDI_Interfaces/DebugMIDI_Interface.cpp#L52-L75

You should be able to stream into the display instead of the stream, but you'll probably have to do some extra housekeeping for text wrapping and scrolling. However, that's something that the SSD1306 should provide, it's not really a Control Surface-related problem.

If you're using Control Surface's DisplayInterface, this thread might be useful: https://github.com/tttapa/Control-Surface/issues/158#issuecomment-657827564

tttapa avatar Aug 03 '22 16:08 tttapa

Thanks for the instant reply ! I’ll test it and let you know!

CriusDigitalStudio avatar Aug 03 '22 19:08 CriusDigitalStudio