Update ES/Lab/Lab8/7SegUpDown-Switch.c

This commit is contained in:
aadit 2025-09-25 12:28:11 +05:30
parent d0d8e949e2
commit b864c4d8da

View file

@ -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;