Meladi Catalino

Greenhorn
+ Follow
since Nov 21, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
4
Given in last 30 days
4
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Meladi Catalino

John Matthews wrote:Looking at this:
https://www.electronicwings.com/arduino/basic-functions-related-to-time-and-interrupts-in-arduino
implies there isn't anything that will give you the current time, only time since the program started.

Do you have some way of inputting an absolute time value which your code could add the millis() value to to get the current time?



-Oh, does that mean that everytime you start the Arduino you have to physically change a number/time that the mills() function adds itself to?
I'll just use a DS1307 or a DS3231... So it keep track of the time every day for me... instead of typing a new number/time in every time i start the arduino
2 weeks ago
Hi,
Does any of you know a list of clock functions of something? I have this Language Reference for arduino: arduino.cc/reference/en But there's nothing about time & date, so if any of you know where i can find such functions and commands it would be really nice.

My goal is to make a very simple arduino code, so a LED strip will turn on when the clock is for example 23:25 and turn off again at 04:14 and so the code will repeat that every time the clock becomes e.g. 23:25 again.
I also want to be able to make the LED light fade slowly in and out. (so it takes e.g. 5 min to fade into full brightness, and out again when it's suppose to turn off)
I am not a very good programmor so i really hope you guys can help me out, especially because i can't find any code with a time stamp that i can edit INSIDE the code.

If you write any code, can you then please make a comment next to the code that explains what every line of code does? That helps me understand how it works.

Thanks



2 weeks ago