Ubaldo Tiberi wrote:
Hello everybody.
I've just start studying theTinyOS and I have some problems about
parametrized intefaces.
The code I wrote is below (this app is something that should simulate a
traffic light, I know that I could did it in another way, but I did it
so just as exercise)
You're a little bit mistaken in how parameterized interfaces work. Your
code is trying to wire in one unique Timer interface and then split that
one interface into two, which isn't legal nesC syntax. You need to wire
in *two* unique Timer interfaces from TimerC instead. There's an
example of how to do this in Field.nc and FieldApp.nc, under
tinyos-1.x/apps/TASKApp.
Greg Hackmann
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help