Hi guys,
I'm very new to arduino, and programming in general so I apologise if I sound like a fool and if what I am asking is really easy.
I am trying to make a track selector like the ones found on the old fashioned jukebox's. Lets say I have audio files named 001, 002, 003, 004 etc etc,
I also have buttons marked 0, 1, 2, 3, 4, 5 up to 9.
for arguements sake, if i wanted to play track number 012 i want to press button 0, then 1 then 2. which would then start playing the track titled 012.wav
I know how to play one track assigned to each button but where I get lost is when it comes to the button combinations. I just have no idea how to have it so that arduino knows what to do when buttons 0, 1 and 2 are pushed.
I assume I would have to delay the output to wait for the next button press but I dont know how then to make arduino remember the first button pressed once the second is pressed.
Again I'm sorry if this post doesn't make sense but I am completely at a loss so any help would be greatly appreciated!
Thanks
Will