I have created a module that provides 3 interfaces.  It is called
"LEDModuleC.nc" and it includes a .h file containing things that module
needs.

I am having trouble testing it in a different application now.  Is there a
specific file-name format I must give it instead of LEDModuleC.nc?  How do I
tell my test application where to find it? Do I just #include
"LEDModuleC.nc" ??

I was under the impression that if I put them all in the same folder, the
"uses" statements in the test application would make nesC look for the stuff
in LEDModuleC.nc.  I guess this isn't the case?


also, I am a bit confused either way about what would go in my TestAppC.nc
and TestC.nc files to use the new module.  I looked at a bit of the TinyOS
examples/library files and I'm still not quite getting it.

Right now:

TestC.nc:
// 3 interfaces provided by LEDModuleC.nc
    uses interface LEDCycler;
    uses interface LEDBlinker;
    uses interface LEDPulser;

TestAppC.nc

// can't exactly figure this part out.


Hopefully this is something quick/minor to work out.

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

Reply via email to