15 lines
342 B
C
15 lines
342 B
C
// Screen dimensions
|
|
#define SCREEN_WIDTH 128
|
|
#define SCREEN_HEIGHT 128 // Change this to 96 for 1.27" OLED.
|
|
|
|
// You can use any (4 or) 5 pins
|
|
// #define SCLK_PIN 14
|
|
// #define MOSI_PIN 13
|
|
#define DC_PIN 26
|
|
#define CS_PIN 27
|
|
#define RST_PIN 25
|
|
|
|
#define HSPI_MISO 12
|
|
#define HSPI_MOSI 13
|
|
#define HSPI_SCLK 14
|
|
#define HSPI_SS 15 |