-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
79 additions
and
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#ifndef BTNACTIONS_H | ||
#define BTNACTIONS_H | ||
|
||
enum btnActions | ||
{ | ||
btnAction_DoNothing = 0, | ||
btnAction_GotoClock = 1, | ||
btnAction_ToggleSleepMode = 2, | ||
btnAction_MP3PlayPause = 3, | ||
btnAction_MP3PlayPrevious = 4, | ||
btnAction_MP3PlayNext = 5, | ||
}; | ||
|
||
#endif // BTNACTIONS_H |
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,11 @@ | ||
#ifndef BTNSTATES_H | ||
#define BTNSTATES_H | ||
|
||
enum btnStates | ||
{ | ||
btnState_Released, | ||
btnState_PressedNew, | ||
btnState_PressedBefore, | ||
}; | ||
|
||
#endif // BTNSTATES_H |
File renamed without changes.
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,11 @@ | ||
#ifndef LUXSENSOR_H | ||
#define LUXSENSOR_H | ||
|
||
enum LuxSensor | ||
{ | ||
LuxSensor_LDR, | ||
LuxSensor_BH1750, | ||
LuxSensor_Max44009, | ||
}; | ||
|
||
#endif // LUXSENSOR_H |
File renamed without changes.
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,14 @@ | ||
#ifndef TEMPSENSOR_H | ||
#define TEMPSENSOR_H | ||
|
||
enum TempSensor | ||
{ | ||
TempSensor_None, | ||
TempSensor_BME280, | ||
TempSensor_DHT, | ||
TempSensor_BME680, | ||
TempSensor_BMP280, | ||
TempSensor_SHT31, | ||
}; | ||
|
||
#endif // TEMPSENSOR_H |
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,10 @@ | ||
#ifndef TEMPERATUREUNIT_H | ||
#define TEMPERATUREUNIT_H | ||
|
||
enum TemperatureUnit | ||
{ | ||
TemperatureUnit_Celsius, | ||
TemperatureUnit_Fahrenheit | ||
}; | ||
|
||
#endif // TEMPERATUREUNIT_H |
File renamed without changes.
File renamed without changes.
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,12 @@ | ||
#ifndef VERSION_H | ||
#define VERSION_H | ||
|
||
typedef struct | ||
{ | ||
int major; | ||
int minor; | ||
int patch; | ||
char prerelease[16]; | ||
} Version; | ||
|
||
#endif // VERSION_H |
File renamed without changes.
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