I have a keypad interfaced with a Arduino Mega.
This is what I want to do:
The user inputs a frequency value (say 100). The number is stored in memory as a variable and then used to output a wave at that frequency (this uses a separate section of codes - I have this part running).
However, I am having issues capturing the input and storing it. As in, if I punch in 1,0,0 it should record as 100; 5,0 as 50 etc. I read through the tutorials and the forum. http://arduino.cc/forum/index.php?topic=57627.0
was helpful in that matter. But I can have a single, double or triple digit input and cannot think of how to code for this.
I hope I was able to explain that well.
I need help with the logic!
Please guide me!