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