This week's book giveaway is in the Java in General forum.
We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line!
See this thread for details.
Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

Meladi Catalino

+ Follow
since Nov 21, 2020
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
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:
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
1 year ago
Does any of you know a list of clock functions of something? I have this Language Reference for arduino: 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.


1 year ago