]> Devi Nivas Git - gt-ece4180-lab02.git/commitdiff
Fix UP/DOWN misreading
authorAdvaith Menon <83835839+advaithm582@users.noreply.github.com>
Fri, 26 Sep 2025 21:34:17 +0000 (17:34 -0400)
committerAdvaith Menon <83835839+advaithm582@users.noreply.github.com>
Fri, 26 Sep 2025 21:34:17 +0000 (17:34 -0400)
* UP/DOWN values were misread!

04-uLCDNavSwitch/04-uLCDNavSwitch.ino

index e442bd65b04d9f82de2c401ddd0aa442fbf81e45..c77bb2a603fe9b74f03042eea7274b338f66abf1 100644 (file)
@@ -4,11 +4,11 @@
  * @brief Control a ball on the uLCD with a Nav Switch.
  */
 
-#define DOWNPIN  18
+#define DOWNPIN  21
 #define LEFTPIN  19
 #define RIGHTPIN 9
 #define FIREPIN  20
-#define UPPIN    21
+#define UPPIN    18
 #define DEFAULT_VCC 22
 #define RESETLINE 23