We need LED and pushbutton for our demo. The LED is connected to P0 and pushbutton is connected to P1. All ground pins are connected to GND Rail. If Pushbutton needs VCC, you can connect it to 3.3V Rail.
The following is my wiring.
Войти с помощью соц. сетей: