initial try with U8x8

This commit is contained in:
Pawel Spychalski
2018-05-18 12:55:20 +02:00
parent a83b1fc45b
commit 68aafd179d
2 changed files with 84 additions and 76 deletions

View File

@@ -3,8 +3,8 @@
#ifndef TX_OLED_H
#define TX_OLED_H
#include <Adafruit_SSD1306.h>
#include "Wire.h"
#include <U8x8lib.h>
#include "variables.h"
#include "tactile.h"
#include "radio_node.h"
@@ -41,7 +41,7 @@ class TxOled {
void loop();
void page(uint8_t page);
private:
Adafruit_SSD1306 _display;
U8X8_SSD1306_128X64_NONAME_HW_I2C _display;
void renderPageInit();
void renderPageStats();
void renderPagePwr();