Upload
tikasito-deepblood
View
5
Download
0
Embed Size (px)
DESCRIPTION
Realice un programa que cuente 0-9 en un display de 7 segmentos.PROTON PIC 16F877A
Citation preview
NEIFY LLADO ESQUIVEL
ING. ELECTROMECÁNICA 9º SEMESTRE
TAREA 4 SISTEMAS PROGRAMABLES DE CONTROL
INSTRUCCIÓN:
Realice un programa que cuente 0-9 en un display de 7 segmentos.
PROGRAMACIÓN:
Device 16F877AXTAL 4TRISB= %00000000PORTB= %00000000
INICIO:
PORTB= %00111111DelayMS 200PORTB= %00000110DelayMS 200PORTB= %01011011DelayMS 200PORTB= %01001111DelayMS 200PORTB= %01100110DelayMS 200PORTB= %01101101DelayMS 200PORTB= %01111101DelayMS 200PORTB= %10000111DelayMS 200PORTB= %01111111DelayMS 200PORTB= %01101111DelayMS 200
GoTo INICIOEnd
PROGRAMA EN PROTEUS: