Hi to all, I'm new to TinyOS and I was reading the lesson 2 of the tutorial
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson2.html when I found 2 errors: 1) with tiny-OS-v2 the Timer.nc is not in tos/interfaces anymore but is in the lib/timer directory! 2) The function event void Timer0.fired() { counter++; if (counter & 0x1) { call Leds.led0On(); } else { call Leds.led0Off(); } if (counter & 0x2) { call Leds.led2On(); } else { call Leds.led2Off(); } if (counter & 0x4) { call Leds.led2On(); } else { call Leds.led2Off(); } } should call led1xx functions!: if (counter & 0x2) { call Leds.led1On(); } else { call Leds.led1Off(); } Since I'm here, I'd like also to ask to someone using Cadena plugin of Eclipse to develop Tinyos components if it works also for tinyos-v2..all tutorials I found around seems to contemplate only version 1..am I wrong?? Thanks in advance, Flavio Pompermaier _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help