t.getNode(0).bootAtTime(10000000);
t.getNode(1).bootAtTime(20000000);
t.getNode(2).bootAtTime(30000000);
t.getNode(3).bootAtTime(40000000);
t.getNode(4).bootAtTime(50000000);
t.getNode(5).bootAtTime(60000000);
t.getNode(6).bootAtTime(70000000);
t.getNode(7).bootAtTime(80000000);
t.getNode(8).bootAtTime(90000000);

I booted the nodes up in this way .
I thought this could be 0.1 ms = 100,000,000 ns

but when I check the time in simulation in tossim  using function
sim_time_string()
It is 0.01ms.

DEBUG (0): (0:0:0.001000000) RadioCountToLedsC: Booted!!
DEBUG (1): (0:0:0.002000000) RadioCountToLedsC: Booted!!
DEBUG (2): (0:0:0.003000000) RadioCountToLedsC: Booted!!
DEBUG (3): (0:0:0.004000000) RadioCountToLedsC: Booted!!
DEBUG (4): (0:0:0.005000000) RadioCountToLedsC: Booted!!
DEBUG (5): (0:0:0.006000000) RadioCountToLedsC: Booted!!
DEBUG (6): (0:0:0.007000000) RadioCountToLedsC: Booted!!
DEBUG (7): (0:0:0.008000000) RadioCountToLedsC: Booted!!
DEBUG (8): (0:0:0.009000000) RadioCountToLedsC: Booted!!

What's the unit for using bootAtTime(___) function?

Please correct my opinion if i'm wrong
and any reply will be appreciated .. Thank you
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to