Arduino Forum
need help with array
Projects
Programming
Ps991
August 27, 2016, 12:55am
5
int val[2];
You don't need a int for those small numbers, but whatever
Don't you have 3 buttons? Why do you only have 2 elements in your array?
In reference to your above question, yes
show post in topic
Related topics
Topic
Replies
Views
Activity
Store pressed buttons sequence in array and compare it with another
Programming
8
5763
May 5, 2021
Compare Arrays
Programming
18
2923
May 5, 2021
Buttons and Led's - Button switching too quickly
Programming
22
5924
May 5, 2021
Debouncing buttons using array
Programming
22
2266
May 5, 2021
two dimensional array to record button presses
Syntax & Programs
11
4108
May 6, 2021