do anyone got any simple sample code in C language that can control the speed of dc motor?? it can help more easy to understand wat the datasheet talking about!! i set the CCP1L,CCP1CON,T2CON, PR2 and a output signal for motor alr but motor still cant move.i using pic06f877a. thanks for urs help!!!