bitbank2 / ss_oled

Simple and small library to control 1-bpp OLED displays (Linux + Arduino)
GNU General Public License v3.0
190 stars 34 forks source link

STM32 Blue Pill Compatibility #35

Closed roboticboyer closed 4 years ago

roboticboyer commented 4 years ago

The ss_oled library is compatible with STM32duino boards such as the Blue Pill F103C8T6 These pin numbers are for the Blue Pill

#define SDA_PIN PB7
#define SCL_PIN PB6

I suggest to reference this compatibility in the library description

bitbank2 commented 4 years ago

Thanks for the heads up; I think I state pretty clearly that this code should run on ALL Arduino compatible boards. There's really nothing preventing it from running on anything. The specifics about which pins should be used for hardware vs software I2C on each board are not something I want to document.