Jump to content

naim

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About naim

  • Rank
    Newbrie

Recent Profile Visitors

356 profile views
  1. LIST P=16F877 #INCLUDE"P16F877A.INC" __CONFIG 0X3F32 ORG 0X200 INIT BSF STATUS,RP0 MOVLW 0x00 MOVWF TRISA MOVLW 0x00 MOVWF TRISB MOVLW 0x00 MOVWF PORTC MOVLW B'11111000' MOVWF TRISD MOVLW 0x00 MOVWF TRISE MOVLW 0x01 MOVWF ADCON1 BCF STATUS,RP0 BCF STATUS,RP1 MOVLW 0xFF MOVWF PORTA MOVLW 0x00 MOVWF PORTB MOVLW 0x0F MOVWF PORTC MOVLW B'00000111' MOVWF PORTD MOVLW 0xFF MOVWF PORTE GOTO ON ON BTFSS PORTA,0 GOTO LED0 BTFSS PORTA,1
×
×
  • Create New...