INCLUDE <P18F4580.INC>
CONFIG LVP = OFF
ORG 00H
MOVLW 0X0E
MOVWF ADCON1
BSF TRISB,0
BSF TRISB,1
BCF TRISB,6
L5 BCF PORTB,6
BTFSS PORTB,0
BRA L2
GOTO L5
L2 BSF PORTB,6
BTFSS PORTB,1
BRA L5
GOTO L2
END
PUT YOUR CURSOR AT MENU BUTTON AND SCROLL UP DOWN