Hi everyone , i have a mini project with pic 16f877. i want to control the speed and direction of a stepper motor using PWM module in assembly language.i searched in the forum and i found some program but i face a problem : i read a variable resistor via AN0 and based on this value i configure my PWM duty cycle (high level). everything works just fine in Mplab but the CCP1/RC2 pin stay in 0 level...
Any help please :
LIST p=16F877
#include <p16f877.inc>
__CONFIG _CP_OFF &...
PWM in pic 16f877 problem
Any help please :
LIST p=16F877
#include <p16f877.inc>
__CONFIG _CP_OFF &...
PWM in pic 16f877 problem