Krolyxon
Commit bd12e09

Branches

Tags

Refs →

orion-rffirmwaredisplay.cpp

16 lines · 260 B · C++

1#include "display.h"
2#include <Wire.h>
3#include "config.h"
4
5
6U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(
7 U8G2_R0,
8 U8X8_PIN_NONE
9);
10
11void displayInit()
12{
13 Wire.begin(OLED_SDA_PIN, OLED_SCL_PIN);
14 u8g2.begin();
15 u8g2.setFont(u8g2_font_6x12_tr);
16}