Hi Darrel,
Thanks lot,
Plz tell me, why u select FOSC32,whynot FOSC8.
and my final ques is how to find the rising edge(tON) and Falling Edge(tOFF).I used the following code to find this,
This is a digital i/p,
go_vol1
btfss PORTB,0 ;checking whether porta pin is set or not
goto go_vol1 ;waiting
clrf TMR0
Duty_vol1
btfsc PORTB,0 ;keep monitoring rising edge
goto Duty_vol1
movf TMR0,0
movwf volt_val
Plz give me ur suggestion to use this code,If it is correct my work will get finish.
And also i m using LCD interface.wat should be the minimum delay b/w the commands to LCD.
-thanks.
Bookmarks