From 2e192d0a60217e76940a7cdc16c119d38f72d5b5 Mon Sep 17 00:00:00 2001 From: GuruSR Date: Mon, 29 Nov 2021 19:57:09 -0500 Subject: [PATCH] Watchy 1.2.9 is up! --- Battery/Instructions.md | 3 --- Battery/WatchyBattery.h | 15 --------------- 2 files changed, 18 deletions(-) delete mode 100644 Battery/Instructions.md delete mode 100644 Battery/WatchyBattery.h diff --git a/Battery/Instructions.md b/Battery/Instructions.md deleted file mode 100644 index 7a93cdd..0000000 --- a/Battery/Instructions.md +++ /dev/null @@ -1,3 +0,0 @@ - Float A; - WatchyBatt Batt; - A = Batt.Read(RTC); // RTC is needed. diff --git a/Battery/WatchyBattery.h b/Battery/WatchyBattery.h deleted file mode 100644 index d90775d..0000000 --- a/Battery/WatchyBattery.h +++ /dev/null @@ -1,15 +0,0 @@ -#include -#ifndef WatchyBattery_H -#define WatchyBattery_H - -class WatchyBatt { - public: - float Read(WatchyRTC RTC){ - if (RTC.rtcType == DS3231) - return analogRead(33); - else if (RTC.rtcType == PCF8563) - return analogRead(35); - return 0.0; - }; -}; -#endif