My teacher said that I should dedicate the pins only for the purpose of ISP and that I should not use it for other purposes. My guess is that the AVR should be able to distinguish between between the programming mode and the normal running mode (because of the reset pin). Please advice me further as I am falling short of pins and any extra pin would be useful.
Also tell me if there are any precautions that are necessary if the dual use of the pins is possible.