Side Project:
I got the parts to build the OLED breakout PCB this week. I got them assembled and connected to my test STM32 Arduino device. Unfortunately, I didn’t get anything to show up on the display. I did measure the 13.8 volts on the high voltage part of the circuit. (I wasn’t sure if the inductor I chose for this voltage could handle the current. I am still not sure)
The STM board got hot quickly when trying to drive the OLED. This leads me to believe that the OLED is drawing too much current. I expect this display to work as well as the test display I have been using. It should draw about the same amount of current. My first guess is I have a solder bridge somewhere on the PCB.
Research:
I created a C project with multiple files and it worked without any problems. So I did a little research and found that when I add C into a C++ project I need to tell the compiler which functions are written in C. I found that I can wrap the #include in an extern “C”{} declaration.