lexus2k / ssd1306

Driver for SSD1306, SSD1331, SSD1351, IL9163, ILI9341, ST7735, PCD8544, Nokia 5110 displays running on Arduino/ESP32/Linux (Rasperry) platforms
MIT License
651 stars 125 forks source link

Larger fonts possible? Turn off/on display? #158

Open tobivan opened 8 months ago

tobivan commented 8 months ago

Hi there,

how can I make a font larger, is that possible? I am using SSD1306 in text-mode only. And, is there a way to turn off/on the display for power-saving?

Thanks a lot. Tobias

lexus2k commented 8 months ago

@tobivan Hello

Yes, it is possible. lcd_console example uses standard font 6x8, but you can use bigger fonts: ssd1306xled_font8x16 and other. And you can create your own font. Please, check the github wiki. As for the power-saving mode, you can use ssd1306_sendCommand to send any display-specific command to the display.

Best regards, Alekei

tobivan commented 8 months ago

Thanks a lot, I will try. Best regards.