uses PlatformIO
- install Adafruit-SSD1306
platformio lib install 135which automatically also pulls in the Adafruit-GFX library - Edit Adafruit-SSH1306.h uncommenting the line
#define SSD1306_128_64
- Connect the i2c (SDA and SCL) lines as well as GND/VCC to the Monochrome SSD1306 OLED screens.
- In 'platform.ini' file, setup board details. [board setup details can be found at PlatformIO boards page]
- upload to board:
cmd + shift + u