|
sketchbook
|
#include <stdio.h>#include <stdlib.h>#include <stdint.h>#include <string.h>#include <time.h>#include <wiringPi.h>#include <ds1302.h>Macros | |
| #define | RTC_SECS 0 |
| #define | RTC_MINS 1 |
| #define | RTC_HOURS 2 |
| #define | RTC_DATE 3 |
| #define | RTC_MONTH 4 |
| #define | RTC_DAY 5 |
| #define | RTC_YEAR 6 |
| #define | RTC_WP 7 |
| #define | RTC_TC 8 |
| #define | RTC_BM 31 |
Functions | |
| int | main (int argc, char *argv[]) |
| #define RTC_BM 31 |
| #define RTC_DATE 3 |
| #define RTC_DAY 5 |
| #define RTC_HOURS 2 |
| #define RTC_MINS 1 |
| #define RTC_MONTH 4 |
| #define RTC_SECS 0 |
| #define RTC_TC 8 |
| #define RTC_WP 7 |
| #define RTC_YEAR 6 |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
1.8.6