Skip to content

Instantly share code, notes, and snippets.

@alxblog
Last active April 9, 2016 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alxblog/edbe64786f9a08236e6064150b1ac4f5 to your computer and use it in GitHub Desktop.
Save alxblog/edbe64786f9a08236e6064150b1ac4f5 to your computer and use it in GitHub Desktop.
My config for ssd1306_128x64_spi.ino
// If using software SPI (the default case):
#define OLED_MOSI D4
#define OLED_CLK D3
#define OLED_DC D2
#define OLED_CS D1
#define OLED_RESET D0
Adafruit_SSD1306 display(OLED_MOSI, OLED_CLK, OLED_DC, OLED_RESET, OLED_CS);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment