On Tue, 27 May 1997 19:03:09 +0100, you wrote: There is an excellent article called 'Driving Triacs with the PIC micro-controller' written by Bart Trepak in the March 1996 issue of Electronics Today International magizine (UK) pgs 38-46. It covers what you are interesting in, along with some flow charts, assembler code & cct diagrams for swiching & dimmer control via the PIC 16Cxx to get you on your way. If you have trouble locating this article email me and i'll send you a copy by post. Recently sent a copy to an American guy who was interested in the same thing. >Hi, > We are working on a lighting controller but we need some info and / >or code on Zero Crossing, Phase Control and Interfacing Triacs. We would >prefer code for the 16C84 but that doesnt really matter as we can convert it. > > Thanks from > David Dobbs > > > /////////////////////////////////////////////////////////////////// > Just to let you know we have a web page at > ' http://www.innotts.co.uk/~dobbs/ ' > /////////////////////////////////////////////////////////////////// > macco@ihug.co.nz Andrew McDonald Wellington NEW ZEALAND