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;