Exact match. Not showing close matches.
'[PIC] Compare Mode'
|This sounds like a phase control light dimmer! I did a four channel one
with a single CCP register, figuring out which triac I needed to turn on
first, loading the CCP register with that value, then when I got the
interrupt, turned on the triac and loaded the CCP register with the next
value I needed. I have not looked at that in a long time (more than 10
years). I think I started with a 17C42 and ended up using an 18F452. If
indeed you're doing a light dimmer, I'd load the CCP registers and clear
the timer, and turn off the outputs on a zero cross. Then each CCP
interrupt would turn on an output and clear the interrupt flag.
This is probably not much help since it's been more than 10 years since I
worked on it.
-- FCC Rules Updated Daily at http://www.hallikainen.com
Not sent from an iPhone.
-- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
More... (looser matching)
- Last day of these posts
- In 2020
, 2021 only
- New search...