Hi friends

I started to learn Nesc now and I'm trying to compile a NesC aplication with
the following configuration file:


*includes sensorboard;

configuration **app**{
}
implementation {
  components Main, IntToLeds, IntToRfm,  appM,  TimerC, PhotoTemp, LedsC;

  Main.StdControl -> appM;
  Main.StdControl -> IntToLeds.StdControl;
  Main.StdControl -> IntToRfm.StdControl;
  Main.StdControl -> TimerC.StdControl;

 appM.ADC -> PhotoTemp.ExternalTempADC;
  appM.Timer -> TimerC.Timer[unique("Timer")];
  appM.IntOutput -> IntToRfm;
  appM.IntOutput -> IntToLeds;
 appM.Leds -> LedsC;

}*

But when I try to compile and put it in the mote I get this error mensage:

  nnn.nc:6: component IntToLeds not found
C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/avrmote/HPLInit.nc:51: expected
com
ponent `IntToLeds', but got component 'HPLInit'
nnn.nc:6: component IntToRfm not found
C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/avrmote/HPLInit.nc:51: expected
com
ponent `IntToRfm', but got component 'HPLInit'

I've tried a lot of things but this error always come. The code seens to be
correct, I have another example app which is almost the same thing and it
works.

Could anybody help me?? it's very important.

Thanks

Daniel
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to