Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Trisula_Data_Logger
RTC_Reader.h@0:bbb72ffa5684, 2018-11-26 (annotated)
- Committer:
- DimasFN
- Date:
- Mon Nov 26 18:54:32 2018 +0000
- Revision:
- 0:bbb72ffa5684
Reading ADC and RTC and then print the reading result;
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| DimasFN | 0:bbb72ffa5684 | 1 | #ifndef _RTC_READER_H_ | 
| DimasFN | 0:bbb72ffa5684 | 2 | #define _RTC_READER_H_ | 
| DimasFN | 0:bbb72ffa5684 | 3 | #include "iostream" | 
| DimasFN | 0:bbb72ffa5684 | 4 | #include "string" | 
| DimasFN | 0:bbb72ffa5684 | 5 | |
| DimasFN | 0:bbb72ffa5684 | 6 | namespace RTC_READER_DS3231{ | 
| DimasFN | 0:bbb72ffa5684 | 7 | class RTC_ | 
| DimasFN | 0:bbb72ffa5684 | 8 | { | 
| DimasFN | 0:bbb72ffa5684 | 9 | public: | 
| DimasFN | 0:bbb72ffa5684 | 10 | void Read_RTC_Data(); | 
| DimasFN | 0:bbb72ffa5684 | 11 | public: | 
| DimasFN | 0:bbb72ffa5684 | 12 | int RTC_hour; | 
| DimasFN | 0:bbb72ffa5684 | 13 | int RTC_minute; | 
| DimasFN | 0:bbb72ffa5684 | 14 | int RTC_second; | 
| DimasFN | 0:bbb72ffa5684 | 15 | int RTC_dayOfWeek; | 
| DimasFN | 0:bbb72ffa5684 | 16 | int RTC_date; | 
| DimasFN | 0:bbb72ffa5684 | 17 | int RTC_month; | 
| DimasFN | 0:bbb72ffa5684 | 18 | int RTC_year; | 
| DimasFN | 0:bbb72ffa5684 | 19 | }; | 
| DimasFN | 0:bbb72ffa5684 | 20 | } | 
| DimasFN | 0:bbb72ffa5684 | 21 | |
| DimasFN | 0:bbb72ffa5684 | 22 | #endif | 
| DimasFN | 0:bbb72ffa5684 | 23 |