Tom=E1s =D3 h=C9ilidhe wrote: > 1: ?? (Doesn't seem to be connected to anything) > 2: RB6 / ICSPCLK > 3: RB7 / ICSPDATA > 4: GND > 5 Vdd > 6: MCLR / Vpp This is the standard Microchip sequence of lines. The unused pin was originally intended for PGM, but that was never implemented. > Q2) Can I just hardwire the MCLR pin straight to my 6-pin header, > or do I need this pin to have a specific value for normal operation? > (i.e. is it OK to have it floating when the Pickit2 isn't connected)? It must be externally driven high. Never leave any input floating. A 20Kohm pullup to Vdd is usually a good solution. > Q3) Will I not be able to use RB6 and RB7 for pushbuttons when I'm > in debug mode? I guess on your PIC RB6 and RB7 are PGC and PGD? When you are using those pins for programming or debugging you can't use them for anything else. Once the programmer/debugger has been disconnected, your firmware can use them any way it wants to. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist