Re: HELP!! Control dc motor speed with PIC16F877a using hi-t
hey vhn,
well,it is continuously RB0 input is High.
from my code, if the RB0 input is high for certain period, thn by default the CPPR1L
will be 200.however, the output was LOW.
what do you think ?
Btw thankz for the info..i'll edit the while loop..=)
-jun-
Added after 3 minutes:
hey vhn,
thankz ... now it works .. after removing the initializations (T2CON, CCP2CON,...) from the while loop.
Appreciate your help =)
-jun-