> -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of mossy173 > Sent: 08 June 2008 02:00 > To: piclist@mit.edu > Subject: Re: [PIC] help! another newbie's code question > > > Well, ok, this is the fun, rocky part of learning something new. First, > huge > thanks to Bruce, I'm immensely grateful for the energy you're putting into > helping me. I added the config line (could you please explain what it > does?) to the file, programmed, stuck it in the circuit, and despite being > tested by someone else, it was still doing that "thing." Then I realized > that I had the LED's between + on the batteries and the pin. Now I have > them between the pin and ground, and it's working. What was I doing > before? Just to check, you do have current limiting resistors in series with the LED's don't you? If not that could easily explain the Read-Modify-Write issues since you'd be pulling too much current from the port pins and dragging the voltage down (or up depending on LED connection). Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist