blink¶
Overview¶
The blink example uses the on-board LED 2 to blink every 2 seconds. 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.
Using the KNoT Zephyr SDK installed on your machine:
Follow the steps described on KNoT CLI compile section.
Using the KNoT Docker:
Follow the steps described on KNoT Docker compile section.
Flashing¶
Note
For specific board flash instructions please check on Supported Boards section.
This sample can be flashed to a board as follows:
Using the KNoT Zephyr SDK on your machine:
Follow the steps described on KNoT CLI flash section.
Using the KNoT Docker:
Follow the steps described on KNoT Docker flash section.
Configuring¶
After flashing, use the Android KNoT Setup App for configuring the Gateway credentials on your thing.