Created
April 25, 2012 16:17
-
-
Save yesidays/2491015 to your computer and use it in GitHub Desktop.
Secuencial de numeros y letras
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <conio.h> | |
| int main(void){ | |
| int i,j; | |
| int x[]={6,91,79,102,109,124,7,127,103,63}; | |
| int y[]={119,124,57,94,121,113,125,118,6,14,56,63,115,109,62,110}; | |
| clrscr(); | |
| printf("Imprimiendo numeros\n"); | |
| for (j=0;j<=9;j++){ | |
| for (i=0;i<=50;i++){ | |
| outportb(0x3BC,x[j]); | |
| delay(2000); | |
| } | |
| } | |
| printf("\nImprimiendo Letras"); | |
| for (j=0;j<=15;j++){ | |
| for(i=0;i<=50;i++){ | |
| outportb(0x3BC,y[j]); | |
| delay(2000); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment