Hi. I know PICs have some kind of built in PWM thing for a few pins but im trying to to PWM without using that (so it works on all pins). I have been told that i need a loop to turn an output pin on and off rapidly but aparently, if im dealing with mains circuits (eg a dimmer switch) then i need to sync it with the mains sine wave.
Do i actually need to sync it?
If so how?
Is this the worst possible way of doing it and should i try something else? lol
Bookmarks