mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-11 21:55:41 +00:00
630 B
630 B
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