Hi really new to arduino and I have a project coming up in which i am given the following:
A pair of 7 segment LED's with BCD decoders
2 buttons representing Unit (U) and Ten (T) digits.
1 button as set (S) and reset (R) - optional
1 button as mode selector (M) - optional
What I am trying to achive is to use the buttons to store three 2-digit decimal numbers A, B, C in the memory, then display A, B, C on the 7 segment LEDs by the mode selector and verify it through the serial monitor.
Not asking for a code but some guidance on how i should be going to achieve this in a step by step process.
I'd start by breaking this down into individual problems and solve them one at a time.
First, get your buttons working. Look at the examples in the IDE about how to detect the button state change and react to it. You do things when a button is pressed.
Then, get your 7 segment LEDs working. You will probably need a library for that to make things easier.
If you want to keep your stored numbers over resets and power cycles, you need to write those values to EEPROM. Check out the EEPROM examples to figure out how to read/write them.
Combine them all together and get it working. If you get stuck, post your code, your problem and people will help. Make sure to read the sticky post at the top of the forum to learn how to do this in the most effective way.