On 1/14/07, scott larson wrote: > > I just programmed a 16F88 and put it on a breadboard with some other > electronics on it. The LED didn't want to light up, so I disconnected > the other electronics and now the 88 works as expected. > I think it has to do with Timer 1. I'm not sure. I added some code to turn timer 1 off, and programmed the chip using the socket on the olimex board(no ICSP), and it seems to be working very happily now! I have both RB0 and RB1 hooked up. I am suspicious of a combination of factors. I don't think my wiring for the ICSP was as good as it ought to be, and the chip was getting a touch scrambled during programming. Secondly, I think that without pulling RB6 and RB7 to ground while having Timer 1 chattering away, it was making the chip reset or similar. I remember reading in the datasheet that the setting for Timer 1 will override the TRISB port direction settings, and it would seem that timer 1 can also be configured to provide the internal clock frequency from an external source. -- Paul Anderson VE3HOP wackyvorlon@gmail.com http://www.oldschoolhacker.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist