i was started to program PIC16f873 microcontroller. i want to generate single phase pulse width modulation using a natural sampling to control AC induction motor speed and i already get the value at the point. but i have a problem to program do a programming.
what mode should i choose, it is compare mode or capture mode or just PWM mode?
how to created a look-up table?