I do not think that someone can include .nc files. You include header .h 
files not .nc files. The .nc contain code or wiring and local variables 
used by that code.

-- 
best regards,

Faisal Aslam
Ph.D. Candidate
University of Freiburg, Germany
http://cone.informatik.uni-freiburg.de/people/aslam/



Daniel Souza Coelho wrote:
> Hi friends
>
> I 'm working on a application for temperature sensors, and it has this 
> confguration file:
>
> *includes sensorboard;
> #include "C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/counters/IntToLeds.nc"
> #include "C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/counters/IntToRfm.nc"
>
> configuration TempSensor{
> }
> implementation {
>     components TempSensorM, PhotoTemp, IntToRfm, IntToLeds, TimerC, 
> LedsC, Main;
>     Main.StdControl -> TempSensorM.StdControl;
>     Main.StdControl -> IntToLeds.StdControl;
>     Main.StdControl -> IntToRfm.StdControl;
>     Main.StdControl -> TimerC.StdControl;
>    
>    
>     TempSensorM.Timer8000 -> TimerC.Timer[unique("Timer")];
>      TempSensorM.IntOutput -> IntToRfm;
>      TempSensorM.IntOutput -> IntToLeds; 
>     TempSensorM.Leds -> LedsC;
>     TempSensorM.ADC8000 -> PhotoTemp.ExternalTempADC;
> }
>
> *  But when I compile it I get the following error:
>
> *...
> In file included from TempSensor.nc:3:
> C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/counters/IntToRfm.nc:44: parse 
> error bef
> ore `includes'
> <dummy>: `IntOutput.output' not implemented
> <dummy>: `StdControl.init' not implemented
> <dummy>: `StdControl.start' not implemented
> <dummy>: `StdControl.stop' not implemented
> make: *** [exe0] Error 1*
>
>     I don't know why I getting this error message. 
>     Could anybody help-me? Or just tell-me what means "dummy" ??
>
> Thanks
> Daniel
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to