1. LED blinker2. Up/Down Counter3. Motor Controller4. Digital Temperature5. Egg Incubator6. Alarm7. Sensor6. Scoreboard7. Queuing8.Dagdag na po mga sis
processor p16f84a#include<p16f84a.inc>__CONFIG _WDT_OFF & _LP_OSC & _PWRTE_ON cblock 0x0c count counter one two three four five endc org 0x00 goto start org 0x04 bcf INTCON,GIE incf counter,1 bsf INTCON,GIE retfiestart bsf 03h,5 movlw 01h movwf 86h movlw 00h movwf 85h movlw 07h movwf OPTION_REG bcf 03h,5 bsf INTCON,INTE bsf INTCON,GIE bcf INTCON,INTF clrf 05h clrf 06h movlw .1 movwf one movlw .2 movwf two movlw .3 movwf three movlw .4 movwf four movlw .5 movwf count main bsf INTCON,GIE clrf TMR0start_time movf TMR0,W sublw .32 btfss STATUS,Z goto start_time decfsz count,1 goto main goto compare_ring compare_ring bcf INTCON,GIE movlw .5 movwf count movf counter,0 xorlw .0 btfsc 03h,Z goto main movf counter,0 xorwf three,0 btfsc 03h,Z goto dial_3 movf counter,0 xorwf two,0 btfsc 03h,Z goto dial_2 movf counter,0 xorwf one,0 btfsc 03h,Z goto dial_1 movf counter,0 xorwf four,0 btfsc 03h,Z goto dial_0 bsf INTCON,GIE goto maindial_1 clrf counter movlw 01h movwf 05h bsf INTCON,GIE goto maindial_2 clrf counter movlw 02h movwf 05h bsf INTCON,GIE goto maindial_3 clrf counter movlw 04h movwf 05h bsf INTCON,GIE goto maindial_0 clrf counter movlw 00h movwf 05h bsf INTCON,GIE goto mainend
pwede kaya magturn-on ang ilaw pag pumalakpak gamit ang pic16f84a?
clap yata ang ibig nyang sabihin ate marce
hehehe... di kasi binabasa ng maigi! sorry bout that... yeah! pwedeng pwede.
yun nga eh.. kala q pwede C dapat talaga daw assembly language