mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-23 07:29:20 -08:00
Updated font type
This commit is contained in:
@@ -8,6 +8,11 @@ void DisplayUI::setupDisplay() {
|
||||
// ===== adjustable ===== //
|
||||
// initialize display
|
||||
display.init();
|
||||
/*
|
||||
In case of a compiler (conversion char/uint8_t) error,
|
||||
make sure to have version 4 of the display library installed
|
||||
https://github.com/ThingPulse/esp8266-oled-ssd1306/releases/tag/4.0.0
|
||||
*/
|
||||
display.setFont(DejaVu_Sans_Mono_12);
|
||||
display.setContrast(255);
|
||||
display.flipScreenVertically();
|
||||
|
||||
@@ -156,7 +156,7 @@ class DisplayUI {
|
||||
// ===== FONT ===== //
|
||||
// Created by http://oleddisplay.squix.ch/ Consider a donation
|
||||
// In case of problems make sure that you are using the font file with the correct version!
|
||||
const char DejaVu_Sans_Mono_12[] PROGMEM = {
|
||||
const uint8_t DejaVu_Sans_Mono_12[] PROGMEM = {
|
||||
0x07, // Width: 7
|
||||
0x0F, // Height: 15
|
||||
0x20, // First Char: 32
|
||||
|
||||
Reference in New Issue
Block a user