I've read in these forums someone stating that any IO pin can be used for PWM on the 12F683, but in the 683 docs it states only the CCP1 pin can be used for PWM - pin 5. True?
I've already laid out a circuit board for this first try, but of course it can be modified on next rev. I start programming tomorrow with it - any feedback would be appreciated as I do this and post my code.
From what I've read I'll need to setup CCP1 register before I can use the PWM function, and change OSC to 8Mhz..(option?)..
Basically I'm using an input pin (pulled up/ to ground) to "step" the brightness from dim to bright, reach a top brightness, and recycle to dimmest again. Going from 0 to 255 and a repetition rate of I dont know yet (10?).
Continuous loop - the chip will do nothing else..
Bookmarks