increase display time to 5s
This commit is contained in:
parent
fd3f32ca70
commit
f26a0f7a7d
@ -9,6 +9,7 @@
|
||||
#define DISPLAY_ADDRESS 0x70
|
||||
#define BRIGHTNESS 0
|
||||
#define BRIGHTNESS_STEP 1
|
||||
#define DISPLAY_TIME 5000
|
||||
|
||||
namespace Display {
|
||||
|
||||
@ -82,10 +83,10 @@ namespace Display {
|
||||
void displayTemp(float value) {
|
||||
tDisplay.disable();
|
||||
drawColon(false);
|
||||
clockDisplay.printFloat(value);
|
||||
clockDisplay.printFloat(value, 1);
|
||||
clockDisplay.writeDisplay();
|
||||
drawTime();
|
||||
tDisplay.enableDelayed(1000);
|
||||
tDisplay.enableDelayed(DISPLAY_TIME);
|
||||
}
|
||||
|
||||
void displayValue(uint8_t value) {
|
||||
@ -94,7 +95,7 @@ namespace Display {
|
||||
clockDisplay.print(value, HEX);
|
||||
clockDisplay.writeDisplay();
|
||||
drawTime();
|
||||
tDisplay.enableDelayed(1000);
|
||||
tDisplay.enableDelayed(DISPLAY_TIME);
|
||||
}
|
||||
|
||||
void displayText(const char c[]) {
|
||||
@ -103,7 +104,7 @@ namespace Display {
|
||||
clockDisplay.println(c);
|
||||
clockDisplay.writeDisplay();
|
||||
drawTime();
|
||||
tDisplay.enableDelayed(1000);
|
||||
tDisplay.enableDelayed(DISPLAY_TIME);
|
||||
}
|
||||
|
||||
void setup() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user