Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents

Running the Application

TODO

Details about the Application

TODO

Pin activity

TODO

Power consumption

TODOThe 04-syncblink sample application showcases the network-wide synchronization of a 

Include Page
_def_smip
_def_smip
 network.

Simply load the 04-syncblink sample application on multiple motes, waiting for them to join the same network, they will blink their blue LED in synchrony.

Info

While nodes in a

Include Page
_def_smip
_def_smip
network as synchronized to within a handful of micro-seconds, the precision of the uC/OS-II timers limits the accuracy of the LED synchronization to a handful of milli-seconds.

Implementation Details

The sample application consists of a task which arms a timer, waits for it to expire, and blinks the blue LED.

It uses dn_getNetworkTime() to retrieve the current network time, and arms the timer so it expires the next time the ASN counter is integer divisible by 256. Since all nodes increment their ASN at the same time, this event happens at the same time on all nodes in the network.