1. I am trying to connect a switch to PB4 on the DK3 I have made the necessary changes in the configuration for Port B and in the PSD soft, confiugred the pin to be GPIO. Also i have a 4.7K resistor pullup for PB4 to Vcc2. But still i am not able to get any response from the switch. I am able to use the other switches ( SW4 & SW5 ) which are connected to pins of Port B. 2. Can i access the Port B from the timer ISR ? I want to read the switch status at a regular interval, and glow the corresponding LED's from timer0 ISR. If i put the code outside timer routine, i am able to do it, but not from timer0 ISR. Kindly suggest me how to go for the above problems. Regards, Bhushan.