void setup() {
DDRB = DDRB &~ (1<<5);//set pin 13 as input
}
void loop() {
int temp = PINB;
temp = (temp>>4);
temp &=1;
PORTB |= (temp<<5);
}
void setup() {
DDRB = DDRB &~ (1<<5);//set pin 13 as input
}
void loop() {
int temp = PINB;
temp = (temp>>4);
temp &=1;
PORTB |= (temp<<5);
}