Need help changing the Arduino as ISP sketch

How can I change the Arduino as ISP sketch so it uses pin2 instead of pin10 as the slave reset?

Sounds simple.........but I can't figure it out? :blush:

the #define RESET SS at the top of the sketch refers to a definition in pins_arduino.h of const static uint8_t SS  = 10;

If you change the SS in that define to whatever pin you want it should work :).

It's not working? :~

I get these errors: avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x50 avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

All I did was change the #define RESET SS to #define RESET 2

need more info? i have had those (or similar) errors for lots of dumb reasons.. really need to check pretty much everything to be sure it is correct.