NateZimmer / esp32_wrover_oled_ssd1306

ESP32 IDF SSD1306 example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP32 IDF SSD1306 OLED Example

Text example for 128x64 OLED display with SSD1306 driver.

Example

Example API:

void app_main(void)
{
	
	i2c_master_init();
	ssd1306_init();

	ssd1306_display_clear();

	vTaskDelay(1000/portTICK_PERIOD_MS);
	
	ssd1306_DrawText8x8("Hurro", 50, 2);
	ssd1306_DrawText12x16("Hurro", 0, 4);

}

Code is formated such that the screen lib is a component

Borrows from:

https://github.com/yanbe/ssd1306-esp-idf-i2c/blob/master/main/main.c https://github.com/MartyMacGyver/ESP32_Adafruit_ILI9341 https://github.com/lexus2k/ssd1306

About

ESP32 IDF SSD1306 example

License:Apache License 2.0


Languages

Language:C 97.2%Language:Makefile 1.5%Language:CMake 1.3%