button

Overview

The button example changes the LED 2 state every time the user pushes the button 2. The purpose of this sample is to show how to register an LED as a boolean sensor using the KNoT Zephyr SDK.


Building

This sample can be built for your board in two different ways.


Flashing

Note

For specific board flash instructions please check on Supported Boards section.

This sample can be flashed to a board as follows:


Configuring

After flashing, use the Android KNoT Setup App for configuring the Gateway credentials on your thing.