The analog-alert example reads an analog sensor, convert the read value to float and depending on a threshold value it lights an LED.
The demo assumes that an analog output is connected to the 0.31 pin. Make sure to use VDD OUT as the positive reference and GND as the negative reference.
This sample can be built for your board in two different ways.
If you are flashing the
dongle (nrf52840_pca10059) board, make sure the device is in DFU mode before proceeding.
This sample can be flashed to a board as follows:
After flashing, use the Android KNoT Setup App for configuring the Gateway credentials on your thing.