ssd1322_v1
This commit is contained in:
43
yoRadio/src/displays/displaySSD1322.h
Normal file
43
yoRadio/src/displays/displaySSD1322.h
Normal file
@@ -0,0 +1,43 @@
|
||||
#ifndef displaySSD1305_h
|
||||
#define displaySSD1305_h
|
||||
#include "../core/options.h"
|
||||
|
||||
#include "Arduino.h"
|
||||
#include <Adafruit_GFX.h>
|
||||
#include "../SSD1322/SSD1322.h"
|
||||
#include "fonts/DS_DIGI28pt7b.h"
|
||||
#include "tools/l10n.h"
|
||||
|
||||
#define CHARWIDTH 6
|
||||
#define CHARHEIGHT 8
|
||||
|
||||
#define DSP_OLED
|
||||
|
||||
typedef GFXcanvas1 Canvas;
|
||||
#include "widgets/widgets.h"
|
||||
#include "widgets/pages.h"
|
||||
|
||||
#if __has_include("conf/displaySSD1305conf_custom.h")
|
||||
#include "conf/displaySSD1322conf_custom.h"
|
||||
#else
|
||||
#include "conf/displaySSD1322conf.h"
|
||||
#endif
|
||||
|
||||
class DspCore: public Jamis_SSD1322 {
|
||||
#include "tools/commongfx.h"
|
||||
};
|
||||
|
||||
extern DspCore dsp;
|
||||
|
||||
/*
|
||||
* OLED COLORS
|
||||
*/
|
||||
#define BOOT_PRG_COLOR WHITE
|
||||
#define BOOT_TXT_COLOR WHITE
|
||||
#define PINK WHITE
|
||||
#define SILVER WHITE
|
||||
#define TFT_BG BLACK
|
||||
#define TFT_FG WHITE
|
||||
#define TFT_LOGO WHITE
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user