Can i use the above Arduino to build a counter with 2 registers. One register would be a running total of digital input pulses and another register would be a daily count of the same digital input pulse. The second register would be reset to zero at 12:00 PM each day. Can someone help with the programming of the Arduino? Does the Arduino have a real-time to know when to clear the register??
The Arduino has an internal clock but because it is small it usually shows the wrong time most of the time and all you have to do is put an external clock which is relatively cheap If you cut the power to the Arduino, it will not reset the time and you just need to create the code to do something at that time.
What?
The Arduino has an internal clock but because it is small it usually shows the wrong time most of the time and all you have to do is put an external clock which is relatively cheap If you cut the power to the Arduino, it will not reset the time and you just need to create the code to do something at that time
Describe "something."
We can certainly help, but you have to make a sincere effort. Start by reading the pinned post re 'How to make the best use of the forum'. Then google what you want to build, take note of the libraries used to operate the motors and look at the samples in those libraries. Now take the sample that is closest and start modifying it for your use. If you get stuck, come back keeping in mind the rules you read in the pinned post.
There's this:
Maybe the OP can come back and explain why he/she has chosen quite an exotic piece of hardware for this project: Arduino Opta Digital Expansions
Yes to all questions. We're generally here to help, so get started and when you're stuck, ask for help.