Author: Sami Hoxha Projeto PIC16F877-94ledli, gracas meses estrelas arquivos para as pessoas que trabalhamCircuito PIC16F877 com base em 94 levou Usado saidas do microcontrolador BC547 transistores com abundancia maior de transistores e resistores sao simuladas (. DSN) PCB (. Lyt) asm Source e software hex tem 4 hex arquivo, cada LEDs de trabalho diferentes em imagens diferentes para criar ofertas liderada por alterar o posicionamento ou a montagem de uma mudanca no software e possivel criar diferentes efeitosDiagrama do circuito do projeto Codigo Assembleia;--------------------------------------------------------------;YAZAN SAMI HOCA;--------------------------------------------------------------;TARIH 18-07-2006;DOSYA ADI DENEY3;PIC ADI 16F877;REZONATOR 4 MHZ XT;KOMUT HIZI;WATCHDOG DEVRE DISI;KOD KORUMA YOK;KONU LEDLERLE CESITLI EFEKTLER;------------------------------------------ Title "LED Efektleri" list P = 16f877 include "P16f877.inc" ; use definition file for 16f877 __CONFIG _XT_OSC & _CP_OFF & _PWRTE_OFF &_WDT_OFF;---------------------------------------------------------------;KULLANICI RAM TANIMLAMALARI;-TANIMLAR------------------------------------------------------ S1 EQU 20H ;S1 DEGISKENI TANIMLANDI S2 EQU 10H ;S2 DEGISKENI TANIMLANDI S3 EQU 11H ;S3 DEGISKENI TANIMLANDI; S4 EQU 14H ;S3 DEGISKENI TANIMLANDI ADET EQU 12H ;DEGISKEN TANIMLANDI HIZ EQU 13H org 0x0000 ; start address = 0000h;PORTLARI SILME----------------------------------------------- CALL SIL;PORTLARI DUZENLEME------------------------------------------- bsf STATUS,RP0 ;BANK1'E GEC movlw b'000000' movwf TRISA ;BUTUN PINLER CIKIS movlw b'00000000' movwf TRISB ;BUTUN PINLER CIKIS movlw b'00000000' movwf TRISC ;BUTUN PINLER CIKIS movlw b'00000000' movwf TRISD ;BUTUN PINLER CIKIS movlw b'00000000' movwf TRISE ;BUTUN PINLER CIKIS bcf STATUS,RP0 ;BANK0'A GEC;-------------------------------------------------------------BASLA ; GOTO SONDENEY CALL HIZLANTEKRAR;-1- TEK TEK YANARAK VE SONMEDEN SONA GIT;PORTA 0-1-2-3-5 MOVLW B'000001' MOVWF PORTA CALL BEKLE MOVLW B'000011' MOVWF PORTA CALL BEKLE MOVLW B'000111' MOVWF PORTA CALL BEKLE MOVLW B'001111' MOVWF PORTA CALL BEKLE MOVLW B'101111' MOVWF PORTA CALL BEKLE;PORTE 3 ADET MOVLW B'001' MOVWF PORTE CALL BEKLE MOVLW B'011' MOVWF PORTE CALL BEKLE MOVLW B'111' MOVWF PORTE CALL BEKLE;PORTC 0-1-2-3-4-5-6-7 MOVLW B'00000001' MOVWF PORTC CALL BEKLEDON2 RLF PORTC BSF PORTC,0 CALL BEKLE BTFSS PORTC,7 GOTO DON2;PORTD 0-1-2-3 MOVLW B'00000001' MOVWF PORTD CALL BEKLEDON3 RLF PORTD BSF PORTD,0 CALL BEKLE BTFSS PORTD,7 GOTO DON3;PORTB 0-1-2-4-5-6-7 MOVLW B'00000001' MOVWF PORTB CALL BEKLE MOVLW B'00000011' MOVWF PORTB CALL BEKLE MOVLW B'00000111' MOVWF PORTB CALL BEKLE MOVLW B'00010111' MOVWF PORTB CALL BEKLE MOVLW B'00110111' MOVWF PORTB CALL BEKLE MOVLW B'01110111' MOVWF PORTB CALL BEKLE MOVLW B'11110111' MOVWF PORTB CALL BEKLE;GERI DONUS - LEDLERI TEK TEK SONDUREREK GIT;PORTA LEDLERINI SONDUR MOVLW B'101110' MOVWF PORTA CALL BEKLE MOVLW B'101100' MOVWF PORTA CALL BEKLE MOVLW B'101000' MOVWF PORTA CALL BEKLE MOVLW B'100000' MOVWF PORTA CALL BEKLE MOVLW B'000000' MOVWF PORTA CALL BEKLE;PORTE LEDLERINI SONDUR 0-1-2 MOVLW B'110' MOVWF PORTE CALL BEKLE MOVLW B'100' MOVWF PORTE CALL BEKLE MOVLW B'000' MOVWF PORTE CALL BEKLE;PORTC LEDLERINI SONDUR 0-1-2-3-4-5-6-7 MOVLW B'11111110' MOVWF PORTC CALL BEKLEDON8 RLF PORTC BCF PORTC,0 CALL BEKLE BTFSC PORTC,7 GOTO DON8;PORTD LEDLERINI SONDUR 0-1-2-3-4-5-6-7 MOVLW B'11111110' MOVWF PORTD CALL BEKLEDON9 RLF PORTD BCF PORTD,0 CALL BEKLE BTFSC PORTD,7 GOTO DON9;PORTB LEDLERINI SONDUR 0-1-2 MOVLW B'11110110' MOVWF PORTB CALL BEKLE MOVLW B'11110100' MOVWF PORTB CALL BEKLE MOVLW B'11110000' MOVWF PORTB CALL BEKLE MOVLW B'11100000' MOVWF PORTB CALL BEKLE MOVLW B'11000000' MOVWF PORTB CALL BEKLE MOVLW B'10000000' MOVWF PORTB CALL BEKLE CLRF PORTB CALL BEKLE CALL SIL BCF STATUS,0 DECFSZ ADET,1 ;DECREMENT F SKIP IF ZERO-ADET DEGISKENINI 1 EKSILT GOTO MUK1 ;ADET DEGISKENI 0