How do you take the values from the Adafruit RTC and store them in variables?
(future.hour(), DEC)
(future.minute(), DEC)
(future.second(), DEC)
These specifically.
Storing RTC values in variables
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Storing RTC values in variables
Just assign them:
Code: Select all
int hour = future.hour();
int minute = future.minute();
int second = future.second();
Please be positive and constructive with your questions and comments.