Hi, just discovered your great channel and subscribed. I'm a retired, power station, electrical fitter who's discovered microcontrollers but like yourself I find the software side a bit daunting though I'm getting there! Looking forward to more of your projects! Davy
@@gartmorn Hello mate ... Definitely You are not ... I am just a humble 60 Years old Electrician with a passion for Microcontrollers too , but NO way to Understand what's going on on those "mambo jambo" - "Alien" Lines off cod ...🤣😂... I have NO time or Knowledge to Start from the "Beginning" with such a Huge World of Coding ... maybe in the next 3 Life's from now on ... I Hope 🤣🤣🤣 ... Nevertheless I still like to "play" with electronics components and Arduino boards ...
Thank you for your lessons and as always great lessons. It appears most people are having issues adapting DS3231 RTC to this project, oh well I have the same issue.lol. I will try and adapt the code because I previously used this chip with liquidcrystal display and it worked well. If anyone has some ideas please share. If I do figure it out, I will also share my solution with you guys.
For those of you having problems, there are several factors at work here. 1. The library referenced in the video has been updated and isn't compatible with these instructions anymore. You are probably going to have to download an older version that I will paste in my next comment in case that causes it to get flag. Basically these updates may be improvements, I have no idea, but they've jacked up all of the examples on the internet that relied on them and tbh, the vast majority of the "examples" in the library designer's library won't even compile. It's a mess. Secondly, if you try to change the FC16 setting mentioned in the video and the setting isn't there, your library is too new and you need the one I'm going to link to. Thirdly, there are a bajillion versions of this matrix and you need to figure out which one you have. The little matrixes pop off the board if you want to see the chips etc. Either way, install the older version and set paola to 0 and go through the other options such as generic and fc16 and see if you can get it to work. I got pretty frustrated doing this "easy" project. Not Paul's fault though. Keep up the great work.
same problem... I cannot find a clock code to work with 2020 lib and FC16.... I think it´s on propous... to panish who buy chinese models ;) 3 days looking and trying everything and cannot have a clock going...
Thanks for the video... but the DS3231 lib change so much since 2017... that the code doesn´t work anymore... for example: DS3231 Clock; this fubtion is not valid anymore... any help?
Not sure how much additional space overhead it might have on the Nano, but the sprintf function in stdio.h would've been ideal for building the buffer for the display.
Probably that the SPI MOSI pin should be pulled down to ground, though I can't recall what part of the video that it, so he might've misspoke, as I'd expect MOSI to be connected to the peripherals so the master make requests to them.
What's your solution for this .. Its getting annoying. I tried to install all library for that DS3231 and nothing works for that goddamn 'getTime' class. I include the library by Eric Ayers and still dont want to work. Is there any magical solution for this sir? I really need your response sir
Hello there, this is a nice project and with me its working fine. compiled in fist time without any error. the only issue i am facing is that when it is uploaded for first time the display is ok. but when disconnected from PC and hooked power bank, there is no display and when display comes there is no seconds displayed. any idea what could be the problem. i have replaced power bank with external power supply as well but problem persist.
‘MD_MAX72xx’ does not name a type Error: mx was not declared in this scope In function ‘void loop ( ) ‘; Even i have all libraries still there are so many errors in the code i don’t know how to fix it, anyone? Can help me.
Hello Sir, I've applied all your mentioned steps but I'm having the error mesages for "DS3231 Clock" line as "no matching function for to call 'DS3231::DS3231()'. Can you please help me to solve this problem. Best Regards. Cihan.
hey when i installd it this error will shown...pls help me..... Arduino: 1.8.3 (Windows 7), Board: "Arduino/Genuino Uno" C:\Users\palash\Downloads\easy_clock\easy_clock.ino:15:20: fatal error: DS3231.h: No such file or directory #include ^ compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Uno. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Thanks for the work you do in bringing this video to youtube . I have a problem all it will do is print f77 and it stays in one place.Serial does not work. I got all the errors cleared up. What should i do ? Thanks again for video.
Hi Donnie, first, thanks for the reply. Yes, set the clock, date, year. And if possible, make the colon flash. I would be very grateful to you because I have been looking for such a project but never found it! Thanks again
learnelectronics Thanks . Nice day and project:) Clock.getTime (year, month, date, DoW, hour, minute, second); error: 'class DS3231' has no member named 'getTime' Pls You help me ?
what library did You use for DS3231 RTC? I get 'Clock' was not declared in this scope error right under void loop() Line "Clock.getTime(year, month, date, DoW, hour, minute, second);" turns red... I tested 3 different libraries; no luck and error on "DS3231 Clock;"
thanks for info at this moment :) I have to order this matrix first, now I got the oled 0.96 inch screen and one lcd screen, but I want a bigger clock in my tv room :)
Hello, thank you very much for uploading this video, but could you help me? When I try to compile I mark a couple of errors, 'DS3231' does not name a type, easy_clock: 113: error: 'Clock' was not declared in this scope; Clock.getTime (year, month, date, DoW, hour, minute, second); Do you have any idea what it might be? Thank you very much
chang the code .. Clock.getTime(year, month, date, DoW, hour, minute, second); to: int DateTime=(year, month, date, DoW, hour, minute, second); I just cannot test it as i am not at home for next 2 weeks, lemme know if it works :)Like Adam bluebottleyellowboxyellyfish sad and use this Libary github.com/jarzebski/Arduino-DS3231
Hi! I'm getting the same error at int temperature=(Clock.getTemperature()*1.8+32); after changing the code from Clock.getTime to int DateTime. Can you please help me? i'm using the Library that you linked. Thank you
Hi Guys Herewith my solution and my clock is working very well. There are capital letters typed in the code where letter should have been lower case. line 24 \ instead of \\ line 29 DS3231 clock; not DS3231 Clock. Include line 30 as shown below. line 30 RTCDateTime dt; line 110 clock.getTime(year, month, date, DoW, hour, minute, second); this extention does not work. Replace it with line 110 dt = clock.getDateTime(); line 111 to line 120 replace as shown below int lh = ((dt.hour / 10) % 10); int rh = (dt.hour % 10); int lm = ((dt.minute / 10) % 10); int rm = (dt.minute % 10); int lt = ((temperature / 10) % 10); int rt = (temperature % 10); int ls = ((dt.second / 10)%10); int rs = (dt.second%10); Note I am reading seconds too. I hope it works after this minor changes. Regards Yedwa
I've read through all the comments to see if I could fix the same problem. I've done all these suggested fixes but to no avail. Still having this errorDS3231 clock; is highlighted red in code. below readseasy_clock:31: error: no matching function for call to 'DS3231::DS3231()'DS3231 clock; ^C:\Users\xxxxxxx\Desktop\easy_clock\easy_clock.ino:31:8: note: candidates are:In file included from C:\Users\xxxxxx\Desktop\easy_clock\easy_clock.ino:1:0:C:\Users\xxxxxxx\Documents\Arduino\libraries\DS3231/DS3231.h:80:3: note: DS3231::DS3231(uint8_t, uint8_t) DS3231(uint8_t data_pin, uint8_t sclk_pin); ^C:\Users\xxxxxxx\Documents\Arduino\libraries\DS3231/DS3231.h:80:3: note: candidate expects 2 arguments, 0 providedC:\Users\xxxxxxxx\Documents\Arduino\libraries\DS3231/DS3231.h:77:7: note: constexpr DS3231::DS3231(const DS3231&) class DS3231 ^C:\Users\xxxxxxxx\Documents\Arduino\libraries\DS3231/DS3231.h:77:7: note: candidate expects 1 argument, 0 providedC:\Users\xxxxxxxxx\Documents\Arduino\libraries\DS3231/DS3231.h:77:7: note: constexpr DS3231::DS3231(DS3231&&)C:\Users\xxxxxxxxx\Documents\Arduino\libraries\DS3231/DS3231.h:77:7: note: candidate expects 1 argument, 0 providedeasy_clock:32: error: 'RTCDateTime' does not name a type RTCDateTime dt; ^C:\Users\xxxxxxx\Desktop\easy_clock\easy_clock.ino: In function 'void loop()':easy_clock:113: error: 'Clock' was not declared in this scope int temperature=(Clock.getTemperature()*1.8+32); ^easy_clock:114: error: 'dt' was not declared in this scope int lh = ((dt.hour / 10) % 10); ^Could copy more but I think this is enough to get me close. Thanks for any help. Tired of pulling my hair out.
THank you. Sometimes I forget to upload sketches...as is the case this time. Here you go: www.dropbox.com/sh/29i8797cpc68t9f/AABGn1UiflF7d4zqU6DGjLoea?dl=0
Here is the older version to the library that matches the video. github.com/MajicDesigns/MD_MAX72XX/archive/f01c78381438ee5c351646beee560e5b636ee053.zip
Hi , it seems that a lot of people have the same problem with the library , is there anybody who has a 100% solution for this , would be much appriciated 👍
thanks for your prompt reply. I am getting this error msg. arduino ver 1.8.2 " easy_clock:30: error: 'DS3231' does not name a type DS3231 Clock; ^ " here is my dir structure C:\Users\user1\Documents\Arduino\libraries\DS3231\examples\easy_clock
Hi, just discovered your great channel and subscribed. I'm a retired, power station, electrical fitter who's discovered microcontrollers but like yourself I find the software side a bit daunting though I'm getting there! Looking forward to more of your projects!
Davy
Thanks Davy, I'm Paul. Glad to have you here.
I am an electronics software engineer and I find coding daunting at times.
Glad I'm not alone!
@@gartmorn Hello mate ... Definitely You are not ... I am just a humble 60 Years old Electrician with a passion for Microcontrollers too , but NO way to Understand what's going on on those "mambo jambo" - "Alien" Lines off cod ...🤣😂... I have NO time or Knowledge to Start from the "Beginning" with such a Huge World of Coding ... maybe in the next 3 Life's from now on ... I Hope 🤣🤣🤣 ... Nevertheless I still like to "play" with electronics components and Arduino boards ...
dont let this channel fall
Thank you for your lessons and as always great lessons. It appears most people are having issues adapting DS3231 RTC to this project, oh well I have the same issue.lol. I will try and adapt the code because I previously used this chip with liquidcrystal display and it worked well. If anyone has some ideas please share. If I do figure it out, I will also share my solution with you guys.
For those of you having problems, there are several factors at work here. 1. The library referenced in the video has been updated and isn't compatible with these instructions anymore. You are probably going to have to download an older version that I will paste in my next comment in case that causes it to get flag. Basically these updates may be improvements, I have no idea, but they've jacked up all of the examples on the internet that relied on them and tbh, the vast majority of the "examples" in the library designer's library won't even compile. It's a mess. Secondly, if you try to change the FC16 setting mentioned in the video and the setting isn't there, your library is too new and you need the one I'm going to link to. Thirdly, there are a bajillion versions of this matrix and you need to figure out which one you have. The little matrixes pop off the board if you want to see the chips etc. Either way, install the older version and set paola to 0 and go through the other options such as generic and fc16 and see if you can get it to work. I got pretty frustrated doing this "easy" project. Not Paul's fault though. Keep up the great work.
Thanks
same problem... I cannot find a clock code to work with 2020 lib and FC16.... I think it´s on propous... to panish who buy chinese models ;) 3 days looking and trying everything and cannot have a clock going...
Dan do you have a solution already?
@@jpcme2002 No. I think youtube stripped my link to the solution
Another Maker can you send to jp200tdi@gmail.com please
you people are doing a great job . keep it up !
Thanks for the video... but the DS3231 lib change so much since 2017... that the code doesn´t work anymore... for example: DS3231 Clock; this fubtion is not valid anymore... any help?
hello sir, i'm having trouble with Clock.getTime. How can i fix this part?
Not sure how much additional space overhead it might have on the Nano, but the sprintf function in stdio.h would've been ideal for building the buffer for the display.
not to be mean but your pfp looks like a mugshot 😳😳😳
If we change the character from Fahrenheit to Celsius will it go to Celsius?.for us Canadians lol
How to set the time in this clock ?
When you say 'ground which is MOSI' what does that stand for?
Probably that the SPI MOSI pin should be pulled down to ground, though I can't recall what part of the video that it, so he might've misspoke, as I'd expect MOSI to be connected to the peripherals so the master make requests to them.
I build this. But clock shows wrong date and time😒😒😒 how can i fix it? Please some one help me🙄
i have a problem ,please see the below warning:
'class DS3231' has no member named 'getTime'
bool h12, PM, Century=false;
//
increase this
byte year, month, date, DoW, hour, minute, second;
//Clock.getTime(year, month, date, DoW, hour, minute, second);
//replace this
int second,minute,hour,date,month,year;
second=Clock.getSecond();
minute=Clock.getMinute();
hour=Clock.getHour(h12, PM);
date=Clock.getDate();
month=Clock.getMonth(Century);
year=Clock.getYear();
DoW=Clock.getDoW();
How did you get the temperature reading as there are on temperature reading devices attached on the circuit
The DS3231 real time clock module has an internal temperature sensor
can u do this with only one matrix
Yes
error ..'Wire' was not declared in this scope
What else can you do with a esp clock?
Hi, Great Project, I wonder if you can add Esp8266 and get time from ntp and write it to rtc, lets say every 6 hours. to correct time drift.
How can I display Arabic in Parola Scrolling
What's your solution for this .. Its getting annoying. I tried to install all library for that DS3231 and nothing works for that goddamn 'getTime' class. I include the library by Eric Ayers and still dont want to work. Is there any magical solution for this sir? I really need your response sir
bonjour puis je avoir le code arduino et ou telecharger les bibliotheque?
merci Thierry PLACE
HELP! the year, month, date, DoW, Hour, minute, second is not yellow. what did i do wrong?
bool h12, PM, Century=false;
//
increase this
byte year, month, date, DoW, hour, minute, second;
//Clock.getTime(year, month, date, DoW, hour, minute, second);
//replace this
int second,minute,hour,date,month,year;
second=Clock.getSecond();
minute=Clock.getMinute();
hour=Clock.getHour(h12, PM);
date=Clock.getDate();
month=Clock.getMonth(Century);
year=Clock.getYear();
DoW=Clock.getDoW();
Hey great video, i'm a little confused, i didn't see a temperature sensor, how does the arduino gets the temperature?
hi Fercho, DS3231 has internal temperature sensor.
Hello there, this is a nice project and with me its working fine. compiled in fist time without any error. the only issue i am facing is that when it is uploaded for first time the display is ok. but when disconnected from PC and hooked power bank, there is no display and when display comes there is no seconds displayed. any idea what could be the problem. i have replaced power bank with external power supply as well but problem persist.
Arduino uno + rtc ds1307 +MD_matrix 4 in 1 .code please
Dear sir, on which board i have to upload this code????
I m confused, compilation error is occuring. Please reply me.
Nice clock
Thanks Javier!
‘MD_MAX72xx’ does not name a type
Error: mx was not declared in this scope
In function ‘void loop ( ) ‘;
Even i have all libraries still there are so many errors in the code i don’t know how to fix it, anyone? Can help me.
Hello Sir, I've applied all your mentioned steps but I'm having the error mesages for "DS3231 Clock" line as "no matching function for to call 'DS3231::DS3231()'. Can you please help me to solve this problem. Best Regards. Cihan.
yeah same here
hey I have a question how to create custom characters or letter with the MD parola.
I can't help you there.
learnelectronics ok no problem you have already solved many problems by uploading your great videos.
Hello can someone help me? My MD7219 + DS3231 does not work hours how to make please I use every skatch and still does not work Thanks for your help
Hi... Shetch?library? Please :(
someone knows how to make the " : " flash? i can't achieve ot make it work, I tried doing a for loop but error appears.
not very difficult, print ":" and then print " " (space) in the same space with a 1 sec delay, there you go.
of course there are other ways
Bharat i will try. thanks
There is a setting to set intensity , if in case you want to make it more readable !!
It's just the camera, looks fine IRL
class DS3231' has no member named 'getTime'
You are using a newer version of the library.
May I know where to find the code?
can you use arduino uno??
yes
hey when i installd it this error will shown...pls help me.....
Arduino: 1.8.3 (Windows 7), Board: "Arduino/Genuino Uno"
C:\Users\palash\Downloads\easy_clock\easy_clock.ino:15:20: fatal error: DS3231.h: No such file or directory
#include
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
+Palash Karmakar you don't have the ds3231 library installed.
Thanks for the work you do in bringing this video to youtube . I have a problem all it will do is print f77 and it stays in one place.Serial does not work. I got all the errors cleared up. What should i do ? Thanks again for video.
What is the possibility of you making a tutorial for a LED Matrix Clock and IR Remote Control? Thank you (I am subscribed)
what do you want the IR Remote to control? Setting the clock, date, year?
Hi Donnie, first, thanks for the reply.
Yes, set the clock, date, year. And if possible, make the colon flash.
I would be very grateful to you because I have been looking for such a project but never found it! Thanks again
Nice clock looks good is it posable to scroll the clock and temperature then it would look realy good!!
+Bob Wareham It is possible. I didn't get into it. But that scrolling function is available in the library.
Well its not that easy to me I can tell :) Got this error (for now) expected initializer before 'byte' what to do there?
+Frode Molland sounds like you are missing a ;
It stops with this now byte year, month, date, DoW, hour, minute, second; this is direct copy from the code
pMsg was not declared in this scope................................ HELP BRO
Hi. Where is your DS3231 library, there are some many out there ?
Thank you.
Marc.
How to use code ds1307 instead of ds3231 ?:)
I don't know, I don't have a ds1307
learnelectronics Thanks . Nice day and project:)
Clock.getTime (year, month, date, DoW, hour, minute, second);
error: 'class DS3231' has no member named 'getTime'
Pls You help me ?
Getting error arduino nana board
What folder is the code in?
easy clock
oh com'on , he shouted "easy clock" more times than I paused the video, pay attention
what library did You use for DS3231 RTC? I get 'Clock' was not declared in this scope error right under void loop() Line "Clock.getTime(year, month, date, DoW, hour, minute, second);" turns red... I tested 3 different libraries; no luck and error on "DS3231 Clock;"
DS3231 by Eric Ayers
Thanks! that worked! Had to replace all wire.send with wire.write and rec with read but it compiled in 1.6!
jacekf ahhh, ok. I'm using 1.8.1
Can I please get link for this DS3231 Library that works? I tryed so many different libs, without any luck.
Please Help :)
Nikola Nikolić hi , I have the same problem , tried many libraries ,can't find a solution , did you found something ? Tnx
Excellent
Please give me code? I
Hi, I suppose this project would work with arduino uno r3 also?
+Frode Molland any arduino
Hi, great :) thanks for super fast reply, just started with arduino
+Frode Molland always here if you need help
thanks for info at this moment :) I have to order this matrix first, now I got the oled 0.96 inch screen and one lcd screen, but I want a bigger clock in my tv room :)
Clock.getTime (year, month, date, DoW, hour, minute, second);
error: 'class DS3231' has no member named 'getTime'
Pls You help me ?
Use the library DS3231 by Eric Ayers
nice video. what version of arduino are you using?
Mohammed Zaman of the ide? 1.8.1
Hello, thank you very much for uploading this video, but could you help me? When I try to compile I mark a couple of errors, 'DS3231' does not name a type, easy_clock: 113: error: 'Clock' was not declared in this scope;
Clock.getTime (year, month, date, DoW, hour, minute, second); Do you have any idea what it might be?
Thank you very much
chang the code ..
Clock.getTime(year, month, date, DoW, hour, minute, second);
to:
int DateTime=(year, month, date, DoW, hour, minute, second);
I just cannot test it as i am not at home for next 2 weeks, lemme know if it works :)Like Adam bluebottleyellowboxyellyfish sad
and use this Libary github.com/jarzebski/Arduino-DS3231
Hi! I'm getting the same error at int temperature=(Clock.getTemperature()*1.8+32); after changing the code from Clock.getTime to int DateTime. Can you please help me? i'm using the Library that you linked. Thank you
make sure you dont have another version of the DS3231 libary installed.
William Gibson Still doesn't work. Thanks anyway
Hi Guys
Herewith my solution and my clock is working very well.
There are capital letters typed in the code where letter should have been lower case.
line 24 \ instead of \\
line 29 DS3231 clock; not DS3231 Clock. Include line 30 as shown below.
line 30 RTCDateTime dt;
line 110 clock.getTime(year, month, date, DoW, hour, minute, second); this extention does not work. Replace it with
line 110 dt = clock.getDateTime();
line 111 to line 120 replace as shown below
int lh = ((dt.hour / 10) % 10);
int rh = (dt.hour % 10);
int lm = ((dt.minute / 10) % 10);
int rm = (dt.minute % 10);
int lt = ((temperature / 10) % 10);
int rt = (temperature % 10);
int ls = ((dt.second / 10)%10);
int rs = (dt.second%10);
Note I am reading seconds too. I hope it works after this minor changes.
Regards
Yedwa
thanks
I tried this but still got this no matching function for call to 'DS3231::DS3231()' any help please
I've read through all the comments to see if I could fix the same problem. I've done all these suggested fixes but to no avail. Still having this errorDS3231 clock; is highlighted red in code. below readseasy_clock:31: error: no matching function for call to 'DS3231::DS3231()'DS3231 clock; ^C:\Users\xxxxxxx\Desktop\easy_clock\easy_clock.ino:31:8: note: candidates are:In file included from C:\Users\xxxxxx\Desktop\easy_clock\easy_clock.ino:1:0:C:\Users\xxxxxxx\Documents\Arduino\libraries\DS3231/DS3231.h:80:3: note: DS3231::DS3231(uint8_t, uint8_t) DS3231(uint8_t data_pin, uint8_t sclk_pin); ^C:\Users\xxxxxxx\Documents\Arduino\libraries\DS3231/DS3231.h:80:3: note: candidate expects 2 arguments, 0 providedC:\Users\xxxxxxxx\Documents\Arduino\libraries\DS3231/DS3231.h:77:7: note: constexpr DS3231::DS3231(const DS3231&) class DS3231 ^C:\Users\xxxxxxxx\Documents\Arduino\libraries\DS3231/DS3231.h:77:7: note: candidate expects 1 argument, 0 providedC:\Users\xxxxxxxxx\Documents\Arduino\libraries\DS3231/DS3231.h:77:7: note: constexpr DS3231::DS3231(DS3231&&)C:\Users\xxxxxxxxx\Documents\Arduino\libraries\DS3231/DS3231.h:77:7: note: candidate expects 1 argument, 0 providedeasy_clock:32: error: 'RTCDateTime' does not name a type RTCDateTime dt; ^C:\Users\xxxxxxx\Desktop\easy_clock\easy_clock.ino: In function 'void loop()':easy_clock:113: error: 'Clock' was not declared in this scope int temperature=(Clock.getTemperature()*1.8+32); ^easy_clock:114: error: 'dt' was not declared in this scope int lh = ((dt.hour / 10) % 10); ^Could copy more but I think this is enough to get me close. Thanks for any help. Tired of pulling my hair out.
Can't find the sketch, what is it called? Thanks, really enjoy your channel.
THank you. Sometimes I forget to upload sketches...as is the case this time. Here you go: www.dropbox.com/sh/29i8797cpc68t9f/AABGn1UiflF7d4zqU6DGjLoea?dl=0
Thank you!
Here is the older version to the library that matches the video. github.com/MajicDesigns/MD_MAX72XX/archive/f01c78381438ee5c351646beee560e5b636ee053.zip
TOP man.
Hi , it seems that a lot of people have the same problem with the library , is there anybody who has a 100% solution for this , would be much appriciated 👍
thanks for your prompt reply. I am getting this error msg. arduino ver 1.8.2
"
easy_clock:30: error: 'DS3231' does not name a type
DS3231 Clock;
^
"
here is my dir structure
C:\Users\user1\Documents\Arduino\libraries\DS3231\examples\easy_clock
Mohammed Zaman I can't help you with PC configuration issues. but I believe the sketch is in the wrong folder
DS3231 library is missing or not in proper place
This code dont work !
'HELLO WHATS CODE
How are you reading the Temp without a DHT11 or DHT22?
The RTC module has a temp sensor on board
esta mal el codigo no funciona
Thanks for the video!
could you send me the code please?
Error code
'class DS3231' has no member named 'getTime'
They have updated the library and changed classes.
NCV.... I cant see nothing...!!!
What does NCV mean?
learnelectronics No Se Ve (fonética NCV en español) ... Similar at 4U (for you in english).
not work, please libraries
Yup programming is a pain sometimes lol.
Joder perdon, me he equivocado de persona, no agais caso de los comentarios a sido un error
6:16
Who is the stonehead who disliked the video !!!!!!!!!!!!!
bool h12;
bool PM;
//int DateTime now=(year, month, date, DoW, hour, minute, second);
hour = (Clock.getHour(h12, PM)); //24-hr
minute = (Clock.getMinute());
second = (Clock.getSecond());
int temperature=(Clock.getTemperature());
:-) سبد