nes-proj/examples/platform-specific/nrf52dk/blink-hello
2017-10-29 23:18:35 +00:00
..
blink-hello.c Re-arrange examples, in particular, move platform-specific examples to examples/platform-specific 2017-05-16 17:47:57 +02:00
Makefile Provide boot sequence hooks (nrf52dk) 2017-10-29 23:18:35 +00:00
README.md Re-arrange examples, in particular, move platform-specific examples to examples/platform-specific 2017-05-16 17:47:57 +02:00

Blink Hello example

This example shows basic usage of DK's buttons and LEDs. It also shows basic usage of Contiki's processes. The application autostarts 5 processes: 4 processes for button and LED control and 1 to display current temperature to the console.

A process reacts to a press of a respective button (process 1 reacts to button 1, etc.) and doubles the current blinking frequency. The cycle restarts for beginning when blinking frequency is greater than 8Hz.

The example requires one DK and it doesn't use SoftDevice. To compile and flash the example run:

make TARGET=nrf52dk blink-hello.flash