v0.4.199
This commit is contained in:
@@ -140,6 +140,9 @@ sys.date - date/time
|
||||
|
||||
---
|
||||
## Version history
|
||||
#### v0.4.199
|
||||
- excluded required installation of all libraries for displays.
|
||||
|
||||
#### v0.4.197
|
||||
- added support for Nokia 5110 SPI displays
|
||||
- some bugs fixes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef options_h
|
||||
#define options_h
|
||||
|
||||
#define VERSION "0.4.197"
|
||||
#define VERSION "0.4.199"
|
||||
|
||||
/* DISPLAY MODEL
|
||||
* 0 - DUMMY
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#include "../../options.h"
|
||||
#if DSP_MODEL==0
|
||||
|
||||
#include "displayDummy.h"
|
||||
#include <SPI.h>
|
||||
#include "../../player.h"
|
||||
@@ -127,7 +130,7 @@ void DisplayDummy::displayHeapForDebug() {
|
||||
}
|
||||
|
||||
void DisplayDummy::printClock(const char* timestr) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
void DisplayDummy::drawVolumeBar(bool withNumber) {
|
||||
@@ -165,3 +168,5 @@ void DisplayDummy::printText(const char* txt) {
|
||||
void DisplayDummy::loop() {
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#define displayDummy_h
|
||||
|
||||
#include "Arduino.h"
|
||||
#include "../../options.h"
|
||||
|
||||
#define TFT_ROTATE 3
|
||||
#define TFT_LINEHGHT 10
|
||||
@@ -41,7 +40,7 @@ class DisplayDummy {
|
||||
void loop();
|
||||
private:
|
||||
uint16_t swidth, sheight;
|
||||
|
||||
|
||||
};
|
||||
|
||||
extern DisplayDummy dsp;
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#include "../../options.h"
|
||||
#if DSP_MODEL==3
|
||||
|
||||
#include "displayN5110.h"
|
||||
#include <Wire.h>
|
||||
#include "../../player.h"
|
||||
@@ -304,3 +307,4 @@ boolean DisplayN5110::checkdelay(int m, unsigned long &tstamp) {
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include "fonts/TinyFont5.h"
|
||||
#include "fonts/TinyFont6.h"
|
||||
#include "fonts/DS_DIGI15pt7b.h"
|
||||
#include "../../options.h"
|
||||
|
||||
#define TFT_ROTATE 0
|
||||
#define TFT_LINEHGHT 8
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#include "../../options.h"
|
||||
#if DSP_MODEL==2
|
||||
|
||||
#include "displaySSD1306.h"
|
||||
#include <Wire.h>
|
||||
#include "../../player.h"
|
||||
@@ -294,3 +297,5 @@ boolean DisplaySSD1306::checkdelay(int m, unsigned long &tstamp) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include "Arduino.h"
|
||||
#include <Adafruit_GFX.h>
|
||||
#include <Adafruit_SSD1306.h>
|
||||
#include "../../options.h"
|
||||
|
||||
#define TFT_ROTATE 0
|
||||
#define TFT_LINEHGHT 8
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#include "../../options.h"
|
||||
#if DSP_MODEL==1
|
||||
|
||||
#include "displayST7735.h"
|
||||
#include <SPI.h>
|
||||
#include "fonts/bootlogo.h"
|
||||
@@ -324,3 +327,4 @@ void DisplayST7735::loop() {
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include "Arduino.h"
|
||||
#include <Adafruit_GFX.h>
|
||||
#include <Adafruit_ST7735.h>
|
||||
#include "../../options.h"
|
||||
#include "fonts/DS_DIGI28pt7b.h"
|
||||
|
||||
#define TFT_ROTATE 3
|
||||
@@ -44,7 +43,7 @@ class DisplayST7735: public Adafruit_ST7735 {
|
||||
void loop();
|
||||
private:
|
||||
uint16_t swidth, sheight;
|
||||
|
||||
|
||||
};
|
||||
|
||||
extern DisplayST7735 dsp;
|
||||
|
||||
Reference in New Issue
Block a user