Fork of DS3231 by
Diff: DS3231.h
- Revision:
- 3:f599542b06ad
- Parent:
- 2:fc6317727d1d
- Child:
- 4:b58079746c25
diff -r fc6317727d1d -r f599542b06ad DS3231.h --- a/DS3231.h Tue Nov 03 08:15:12 2015 +0000 +++ b/DS3231.h Thu Nov 05 16:44:45 2015 +0000 @@ -84,6 +84,11 @@ // Temperature function float getTemperature(); + + // status function + bool DS3231::status(void); + // Checks DS3231 and returns the status. + // returns true if DS3231 is present and on // Alarm functions void getA1Time(uint8_t& A1Day, uint8_t& A1Hour, uint8_t& A1Minute, uint8_t& A1Second, uint8_t& AlarmBits, bool& A1Dy, bool& A1h12, bool& A1PM); @@ -164,4 +169,4 @@ //int8_t _addrDevice; }; -#endif // MAX72XX_H \ No newline at end of file +#endif // DS3231_H \ No newline at end of file