> I just found out that once again I was very unclear! :) > What I meant was about 12V NOT AC 12V. My mistake! Sorry about that!!! > > The reason I have only 2k is becourse the 12V is comming from an > serial-port, So that is effectively AC as the serial port is at +V or -V. In the case of an "enthuiastic" RS232 driver my cautions still apply. With the laptop driver there may not be enough drive to hurt. > Actually a do have a diode before the 2k resistor in case of negative > voltage but I didn't think that was relevant here. You were extremely wise to add the diode! Too many people have tried to do this and rely on the PIC internal diodes. Using the external series diode as you have you completely avoid that problem. Russell McMahon > > Anyway, thanks for your help! > /Andreas > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body