diff --git a/connect_switch.ino b/connect_switch.ino index 9d8e210..40267fa 100644 --- a/connect_switch.ino +++ b/connect_switch.ino @@ -24,8 +24,8 @@ struct button { struct arrow arrowTable[4]; -#define ButtonTableLength 1 -struct button buttonTable[ButtonTableLength]; +struct button bButton; +struct button plusButton; void perms() { if(val == 0){ @@ -60,12 +60,17 @@ void setup() MsTimer2::set(1, perms); MsTimer2::start(); - buttonTable[0].pinNumber = 3; - for (int i; i