- 1x "blue-pill" board (STM32F103C8)
- 1x 0.96" OLED module, I2C version
- STlink programmer
- Some wires
- (if needed) 2x 4.7k resistor for I2C pull-up
Connect I2C1 pins to OLED module. Pin B6 to SCK and pin B7 to SDA. Don't forget to also connect the power and ground. In my case the I2C pull-up resistors were installed on the OLED module, if yours hasn't got them make sure to add pull-up resistors. 4.7k or so to the 3v3 line should do (the exact value isn't critical).
If you have already got the libopencm3 examples running then you should have everything you need.