add SSD1306

This commit is contained in:
e2002
2022-02-06 22:15:26 +03:00
parent 9ae6d2f45d
commit 870b312999
12 changed files with 403 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
#ifndef options_h
#define options_h
#define VERSION "0.4.170"
#define VERSION "0.4.177"
/*
* TFT DISPLAY
@@ -18,13 +18,18 @@
//#define TFT_RST -1 // we use the seesaw for resetting to save a pin
#define TFT_DC 4
/*
* OLED I2C DISPLAY
*/
#define I2C_SDA 13
#define I2C_SCL 14
#define I2C_RST -1
/*
* I2S DAC
*/
#define I2S_DOUT 27 // DIN connection
#define I2S_BCLK 26 // BCLK Bit clock
#define I2S_LRC 25 // WSEL Left Right Clock
/*
* ENCODER
*/
@@ -36,9 +41,8 @@
* BUTTONS
*/
#define BTN_LEFT 32
#define BTN_CENTER 12
#define BTN_CENTER 31
#define BTN_RIGHT 33
/*
* ESP DEVBOARD
*/