Hi,
Does you code work as in the post above, to sound buzzer on exceeding threshold?
What do you want to put in the array?
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
How have you got your button wired?
Thanks.. Tom.. ![]()