mirror of
				https://github.com/luc-github/ESP3D.git
				synced 2025-10-24 11:50:52 -07:00 
			
		
		
		
	Minor fixes
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1,4 +1,5 @@ | ||||
| Thumbs.db | ||||
| .DS_Store | ||||
| *.orig | ||||
| embedded/node_modules | ||||
| embedded/dist | ||||
|   | ||||
| @@ -117,8 +117,8 @@ | ||||
| //Pins where the screen is connected | ||||
| #ifdef ESP_OLED_FEATURE | ||||
| #define OLED_DISPLAY_SH1106  // OLED Display Type: SSD1306(OLED_DISPLAY_SSD1306) / SH1106(OLED_DISPLAY_SH1106), comment this line out to disable oled | ||||
| #define OLED_PIN_A  5  //5 //SDA;  // i2c SDA Pin | ||||
| #define OLED_PIN_B  4  //4 //SCL;  // i2c SCL Pin | ||||
| #define OLED_PIN_SDA  4  //5 //SDA;  // i2c SDA Pin | ||||
| #define OLED_PIN_SCL  15  //4 //SCL;  // i2c SCL Pin | ||||
| #define OLED_ADDR	0x3c | ||||
| #define HELTEC_EMBEDDED_PIN 16 //0 to disable | ||||
| #define OLED_FLIP_VERTICALY 1 //0 to disable | ||||
|   | ||||
| @@ -32,9 +32,9 @@ | ||||
|  | ||||
|  | ||||
| #ifdef OLED_DISPLAY_SSD1306 | ||||
|   SSD1306  esp_display(0x3c, OLED_PIN_A, OLED_PIN_B); | ||||
|   SSD1306  esp_display(OLED_ADDR, OLED_PIN_SDA, OLED_PIN_SCL); | ||||
| #elif defined OLED_DISPLAY_SH1106 | ||||
|   SH1106 esp_display(0x3c, OLED_PIN_A, OLED_PIN_B); | ||||
|   SH1106 esp_display(OLED_ADDR, OLED_PIN_SDA, OLED_PIN_SCL); | ||||
| #endif | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user