Commit Graph

5 Commits (bac7b4eb514e19752411cdd98a43c10975577462)

Author SHA1 Message Date
Andre LaFleur bac7b4eb51 Setup AbstractRTC, cleanup init(), and add some declarations 2021-12-18 15:26:50 -07:00
Andre LaFleur 715bbaf85d Begin RTC refactor
* My current understanding of the WatchyRTC class is that it came about
  due to the need to ship Watchys with new RTC chips. The class here is
  designed to accomodate both chips
* This class is a good way of doing just that--a single spot that
  hides the implementation details of both chips. The downside to this
  approach in the moment is that we have a bunch of conditionals that
  check if we have this or that chip, and if we ever need to support
  yet another chip, we will have an even more complex WatchyRTC class
* I am going to refactor this to simplify it so that way we will not
  have to worry about modifying this much if we need to support a new
  chip, or if someone else wants to support a new chip
2021-12-18 15:25:05 -07:00
sqfmi 57725d9793 fixed setting datetime 2021-12-18 15:20:32 -07:00
sqfmi ec26c84da2 fixed bugs and change temp. sensor 2021-12-18 15:20:32 -07:00
sqfmi 733c1abfb9 Fix RTC
- Added RTC scan
- Support for both RTCs in abstraction lib
2021-12-18 15:20:32 -07:00