From chap. 3 of "What's a Microcontroller?", 'Your Turn-Turn the LED off with a Pushbutton' (p.64) -
"Figure 3-5 shows a circuit that will cause the LED to behave differently. When the button is not pressed, the LED stays on; when the button is pressed, the LED turns off."
Assembling the circuit exactly as shown in figure 3-5 (p.65) I obtain the opposite result on my board, the LED turns ON when the pushbutton is pressed. The LED is off when the pushbutton is not pressed.
Any troubleshooting suggestions?