hello,
I'm a begining in the world of programation with PIC ...
the first thing ,i have a PIC 16f876 and i want control my servo motor via pic ( PWM mode ) ... i have 3 buttons (stop-right-left) .
when i put my finger in the button -right- ,how the pic know if i want to move the servo motor to right or left or i want stop it.
i means what's the relation between the buttons and PWM mode ( output CCP1 )
so i needs your helps .
I'm a begining in the world of programation with PIC ...
the first thing ,i have a PIC 16f876 and i want control my servo motor via pic ( PWM mode ) ... i have 3 buttons (stop-right-left) .
when i put my finger in the button -right- ,how the pic know if i want to move the servo motor to right or left or i want stop it.
i means what's the relation between the buttons and PWM mode ( output CCP1 )
so i needs your helps .