We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a83fca7 + 0bebeb6 commit 97de72cCopy full SHA for 97de72c
src/utility/Power_Class.h
@@ -14,7 +14,7 @@
14
#define POWER_LED_PIN 2
15
16
#define BAT_ADC_PIN 38
17
-#define BAT_ADC_CHANNEL ADC1_GPIO38_CHANNEL
+#define BAT_ADC_CHANNEL ADC1_CHANNEL_2
18
19
#define BASE_VOLATAGE 3600
20
#define SCALE 0.661
@@ -33,4 +33,4 @@ class Power_Class {
33
void timerSleep(const rtc_date_t& date, const rtc_time_t& time);
34
};
35
36
-#endif
+#endif
src/utility/RTC8563_Class.h
@@ -13,6 +13,7 @@
13
typedef void timezone;
#endif
#include <time.h>
+#include <cstdint>
#define BM8563_I2C_ADDR 0x51
0 commit comments