How to enable a second I2C on the Board to drive OLED-Display? #7
ErichHeinemann
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
Hi Erich, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Marcel, I have removed R70 and R68, which are measured by 0Ohm.
That way, I free up Pin 23 and Pin 5 for a second I2C and made the keys 4 and 6 unusable.
My plan was to add a second I2C to implement a simple local UI and add some I2C multiplexer to re-enable the missing pins or to add a rotary encoder.
I am able to drive the OED on these new pins, but after anabling the MIC it crashes.
I will send You the code tomorrow... perhaps You have time for a review?
As I add some new things and wanted to disable the serial menu (VT100) and the LED-VU-Meter to free up thesee pins to. Finally, the serial-MIDI could be driven by the real Serial to free up the pin 22 for I2C.
Currently the option to disable the LED and the VT100 seems not to be implemented. As I wanted to show the VU-Meter Data in the OLED, I would like to calculatee these values but don´t show them on Your Neopixel-Panel nor in the VT100 but I have to calculate these values.
I have started to implement a lot of #ifdef but I belive, I did it at the wrong places.
Finally, do You see an option to free up Pin 0? It is used in the I2S for external MLCK?
A I2S-Demo with 2 I2C-Bus-Scanners works fine and a Adafruit-Demo for SSD1306-Displays, which I changed for 2 independent I2C-Busses works too.
Best Regards
Erich
Beta Was this translation helpful? Give feedback.
All reactions