Update ES/Lab/Lab8/7SegUpDown-Switch.c
This commit is contained in:
parent
d0d8e949e2
commit
b864c4d8da
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue