From b864c4d8dafd7f3e97c729a2864303465a41a7f8 Mon Sep 17 00:00:00 2001 From: aadit Date: Thu, 25 Sep 2025 12:28:11 +0530 Subject: [PATCH] Update ES/Lab/Lab8/7SegUpDown-Switch.c --- ES/Lab/Lab8/7SegUpDown-Switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ES/Lab/Lab8/7SegUpDown-Switch.c b/ES/Lab/Lab8/7SegUpDown-Switch.c index 7a5a1e4..9594795 100644 --- a/ES/Lab/Lab8/7SegUpDown-Switch.c +++ b/ES/Lab/Lab8/7SegUpDown-Switch.c @@ -16,7 +16,7 @@ int main(void){ LPC_GPIO0->FIODIR |= (0xFF << 4); LPC_PINCON->PINSEL3 = 0; LPC_GPIO1->FIODIR |= (0x0F << 23); - LPC_GPIO0->FIODIR &= ~(1 << 21); + LPC_GPIO0->FIODIR &= ~(1 << 21); // SWITCH MAPS to 7TH PIN FROM CNC (or CNX depending on wiring) while (1) { n = number;