Emir Rayhan wrote:
This means you have an array of 5 volumeControls. Do you want to loop through these to find out the max volume that is set?
Not sure what your intentions are here. It's "static" so there's only one of them, and it's incrementing "volumeeControl" which if it's the same "volumeControl" variable above, it's an array and you can't increment an array.
Can you explain what you are trying to do with volumeUp() ?