i started yesterday with embedded programming and i ran into some isues about the board, STK500. lucky i solved that :).
but now is it time to start programming, i have read some tutorials, but it doesn't really make sense to me. i used these 2 codes to make the led burn.
DDRB.1 = 0xFF; PORTB.1= 0;
but now i want to connect a button to it. how can i do this. i looked at some pages on the internet, but i didn't really make sense. can somebody give me the codes, with some comment. thanks