-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from dbambus/main
Release 2.6.3
- Loading branch information
Showing
24 changed files
with
1,573 additions
and
1,461 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#pragma once | ||
|
||
#include "font.h" | ||
#include "icons.h" | ||
#include <queue> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#pragma once | ||
|
||
#include <NeoPixelBus.h> | ||
|
||
class ClockWork { | ||
private: | ||
void loopSecondsFrame(); | ||
void loopWeather(); | ||
void loopLdrLogic(); | ||
|
||
void rainbow(); | ||
void rainbowCycle(); | ||
void scrollingText(const char *buf); | ||
|
||
bool changesInClockface(); | ||
void copyClockface(const uint16_t source[], uint16_t destination[]); | ||
void calcClockface(); | ||
|
||
void setClock(); | ||
void setHour(const uint8_t std, const uint8_t voll); | ||
void setMinute(uint8_t min, uint8_t &offsetH, uint8_t &voll); | ||
void showMinute(uint8_t min); | ||
void showWeather(); | ||
|
||
public: | ||
ClockWork() = default; | ||
~ClockWork() = default; | ||
|
||
iUhrType *getPointer(uint8_t type); | ||
|
||
void loop(struct tm &tm); | ||
|
||
void initBootLed(); | ||
void initBootLedBlink(); | ||
void initBootLedSweep(uint32_t delay); | ||
void initBootShowIp(const char *buf); | ||
void initBootWifiSignalStrength(int strength); | ||
|
||
void initLedStrip(uint8_t num); | ||
}; |
Oops, something went wrong.