Updated data for ES

This commit is contained in:
sherlock 2025-10-16 02:17:32 +05:30
parent d9ac0bd296
commit 1c7296cf33
12 changed files with 185 additions and 77 deletions

View file

@ -2,7 +2,7 @@
int main(void){
unsigned long i, j, n;
unsigned int x;
unsigned int x;
unsigned long number = 0;
unsigned long count = 0;
unsigned char seven_seg[16] = {
@ -20,8 +20,8 @@ int main(void){
while (1) {
n = number;
x = LPC_GPIO0->FIOPIN & (1 << 21);
x = LPC_GPIO0->FIOPIN & (1 << 21);
for (i = 0; i < 4; i++) {
LPC_GPIO1->FIOCLR = (0x0F << 23);
LPC_GPIO1->FIOSET = (i << 23);
@ -43,5 +43,4 @@ int main(void){
}
}
}
}