This example includes a green LED (pin1), a red LED (pin2), and a button (pin 3). When the button is pressed, the green light will come on if the device is connected, and the red light will come on if the device is disconnected.