vinothksr08
Member level 3
- Joined
- Jun 18, 2013
- Messages
- 66
- Helped
- 7
- Reputation
- 14
- Reaction score
- 7
- Trophy points
- 8
- Location
- Tamilnadu, India
- Activity points
- 367
Code:
#include "p16f877a.inc"
ORG 0000H
BCF TRISC,CCP1
CLRF CCP1CON
CLRF TMR2
MOVLW D'249'
MOVWF PR2
MOVLW D'149'
MOVWF CCPR1L
MOVLW 0X2C
MOVWF CCP1CON
MOVLW 0X01
MOVWF T2CON
AGAIN BCF PIR1,TMR2ON
OVER BTFSS PIR1,TMR2ON
BRA OVER
GOTO AGAIN
END
can anybody help me??
thank you...
Last edited by a moderator: