-
Notifications
You must be signed in to change notification settings - Fork 7
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 #6 from chathura-de-silva/dev
Saving of user Settings added.
- Loading branch information
Showing
10 changed files
with
466 additions
and
318 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
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 |
---|---|---|
@@ -1,20 +1,26 @@ | ||
#include <Adafruit_SSD1306.h> | ||
#include <DHT.h> | ||
#include <Preferences.h> | ||
|
||
extern Adafruit_SSD1306 display; | ||
extern DHT dhtSensor; | ||
extern Preferences preferences; | ||
|
||
extern bool alarm_enabled; | ||
extern const int n_alarms; | ||
extern int alarm_hours[]; | ||
extern int alarm_minutes[]; | ||
extern bool alarm_triggered[]; | ||
extern struct tm timeinfo; | ||
extern int temp_offset_hours; | ||
extern int temp_offset_minutes; | ||
// images | ||
extern const unsigned char splashScreen[]; | ||
extern const unsigned char tick[]; | ||
extern const unsigned char wifi[]; | ||
extern const unsigned char waveformAnimation[31][1024]; | ||
extern const unsigned char time_zone []; | ||
extern const unsigned char alarm_ring []; | ||
extern const unsigned char alarm_disable []; | ||
extern const unsigned char medicine_time []; | ||
extern const unsigned char time_zone[]; | ||
extern const unsigned char alarm_ring[]; | ||
extern const unsigned char alarm_disable[]; | ||
extern const unsigned char medicine_time[]; | ||
extern const unsigned char reset[]; |
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
Oops, something went wrong.