nudrat
Junior Member level 1
hi everyone!
I want to start and stop pwm(which drives a motor) according to the value of switch.
Motor is on portc(RC2) and switch is on RB0.
I am using pic16f877a and software is mikroc.
Can anybody help me in writing c code?
I want to start and stop pwm(which drives a motor) according to the value of switch.
Motor is on portc(RC2) and switch is on RB0.
I am using pic16f877a and software is mikroc.
Can anybody help me in writing c code?