Coursal / Sky-Broadcast-Button

A Contiki program for Sky Tmote where each node broadcasts a message every time its button is pressed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sky-Broadcast-Button

A Contiki program for Sky Tmote where each node broadcasts a message every time its button is pressed (counting the number of clicks it got), waits for 5 seconds and lights up its red LED. When each node receives this message, it prints the the sender's Rime address along with the message (counting the total number of messages it received) and toggles the green and blue LEDs.

The folder must be put under the contiki/examples/ directory

Output example (Cooja)

Tested on Contiki 2.7.

About

A Contiki program for Sky Tmote where each node broadcasts a message every time its button is pressed

License:MIT License


Languages

Language:C 93.4%Language:Makefile 6.6%