Push Button Sample

In this sample, we connect a push button to your Raspberry Pi 2/MinnowBoard Max and use it to control an LED. We use GPIO interrupts to detect when the button is pressed and toggle the LED in response. This is a headed sample, so please ensure that your device is in headed mode by running …

Push Button Sample Read More »