Depends on what you consider "off". If you set the duty cycle to 0% and leave it there your output pin will be '0' (low). If you set the duty cycle to 100% and leave it there your output pin will be a '1' (high). You might also put the CCP1 pin into the hi-z input state.
Regards, Mike
Bookmarks