> There's nothing wrong with what they describe in AN521. It > needs to be modified to suit your application Unlike code, AN521 has safety issues > If you design something to attach to AC, you need to > understand what's required to make it work It might be assumed though, by someone who doesn't know better (eg the OP, no offense), that AN521, as presented by Microchip, is authoritative and safe > Microchip should include a disclaimer as they did with AN954. > But it should stay on their website, the ideas it contains are > totally valid. I agree it could stay although MC should add IFs ANDs BUTs. They won't of course, unfortunately, so we'll be seeing this thread again -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist