On Wed, 2007-02-21 at 03:40, fatima cabot wrote: > Hi. I'm following the TOSSIM tutorial for tinyos 2.0 (lesson 11) and > acording to reading variables, it says: > > "For example, this script will start a simulationi of 5 nodes and run > it until node 0's counter reaches 10" > > but in the code, the for loop says: > > for i in range(0,9): > m=t.getNode(i) > > Is it right?
It is incorrect; the line should be for i in range (0, 4): Nice catch! Phil _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
