You might consider using the Numerically Controlled Oscillator (NCO) to achieve this low frequency output.
I have recently been looking at the 16F1503 to achieve a stable 1Hz output.
This device...
The important part is to set the PORT (or LAT) registers BEFORE setting the TRIS registers to outputs.
Otherwise the pins will be in output mode for a period of time but the outputs aren't specified.
Published on - 27th May 2010 03:01
Number of Views: 10223
This is an effort to help users understand how the I2C command works by comparing it with SHIFTIN/SHIFTOUT. A serial EEPROM, 24FC1025 will be used in the example.
Re: Low frequency Hardware PWM
Thanks Barry.
Ioannis Today, 00:08Never thought of that NCO.
Ioannis