but all of this is new to me
its a bit more difficult than making an LED blink
While you still use variables it is best to use a special type of variable called an array. http://arduino.cc/en/Tutorial/ArrayThis is a variable you can store many different values in.There are many ways of doing this and perhaps the best way is a two dimensional array, but to start with you should just use a one dimensional array and have one array variable for each of the pots.
If he knows its always going to be just three values, three separate variables would do nicely.
QuoteIf he knows its always going to be just three values, three separate variables would do nicely.But if he wants to recall more than just one sound he will need arrays. They are not that complicated anyway. I used them in my second ever computer program way back in 1971.
well can you tell me about the STL too?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16