From 9201e56c0f1dbbb7da1a60346622626d4d2ca1f9 Mon Sep 17 00:00:00 2001 From: Nathan Seidle Date: Tue, 17 Dec 2024 08:49:12 -0700 Subject: [PATCH] Update pin numbers to match production hardware --- .../Example1_NavigationSwitch.ino | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/Firmware/Example1_NavigationSwitch/Example1_NavigationSwitch.ino b/Firmware/Example1_NavigationSwitch/Example1_NavigationSwitch.ino index f9388a7..9f5fd21 100644 --- a/Firmware/Example1_NavigationSwitch/Example1_NavigationSwitch.ino +++ b/Firmware/Example1_NavigationSwitch/Example1_NavigationSwitch.ino @@ -22,17 +22,10 @@ SFE_PCA95XX io(PCA95XX_PCA9554); // Create an instance with the PCA9554 IC -//Incorrect v02 wiring -int gpioExpander_up = 3; -int gpioExpander_down = 2; -int gpioExpander_right = 0; -int gpioExpander_left = 1; - -//Future -//int gpioExpander_up = 0; -//int gpioExpander_down = 1; -//int gpioExpander_right = 2; -//int gpioExpander_left = 3; +int gpioExpander_up = 0; +int gpioExpander_down = 1; +int gpioExpander_right = 2; +int gpioExpander_left = 3; int gpioExpander_center = 4; int gpioExpander_cardDetect = 5;