File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
Thumbs.db
2
+ .DS_Store
2
3
* .orig
3
4
embedded /node_modules
4
5
embedded /dist
Original file line number Diff line number Diff line change 117
117
// Pins where the screen is connected
118
118
#ifdef ESP_OLED_FEATURE
119
119
#define OLED_DISPLAY_SH1106 // OLED Display Type: SSD1306(OLED_DISPLAY_SSD1306) / SH1106(OLED_DISPLAY_SH1106), comment this line out to disable oled
120
- #define OLED_PIN_A 5 // 5 //SDA; // i2c SDA Pin
121
- #define OLED_PIN_B 4 // 4 //SCL; // i2c SCL Pin
120
+ #define OLED_PIN_SDA 4 // 5 //SDA; // i2c SDA Pin
121
+ #define OLED_PIN_SCL 15 // 4 //SCL; // i2c SCL Pin
122
122
#define OLED_ADDR 0x3c
123
123
#define HELTEC_EMBEDDED_PIN 16 // 0 to disable
124
124
#define OLED_FLIP_VERTICALY 1 // 0 to disable
Original file line number Diff line number Diff line change 32
32
33
33
34
34
#ifdef OLED_DISPLAY_SSD1306
35
- SSD1306 esp_display (0x3c , OLED_PIN_A, OLED_PIN_B );
35
+ SSD1306 esp_display (OLED_ADDR, OLED_PIN_SDA, OLED_PIN_SCL );
36
36
#elif defined OLED_DISPLAY_SH1106
37
- SH1106 esp_display (0x3c , OLED_PIN_A, OLED_PIN_B );
37
+ SH1106 esp_display (OLED_ADDR, OLED_PIN_SDA, OLED_PIN_SCL );
38
38
#endif
39
39
40
40
You can’t perform that action at this time.
0 commit comments