Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- short x;
- int i;
- i=PPORT_BASE;
- x=0x00;
- Out32(i,x);
- printf("Se apagan todos los leds");
- getch();
- x=0xFF;
- Out32(i,x);
- printf("Se prenden todos los leds durante 5 segundos");
- sleep(5000);
- x=0x00;
- Out32(i,x);
- printf("Se apagan todos los leds");
- printf("\n \n Fin de ejecucion... \n \n");
- getch();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement