The bible is here: http://nescc.sourceforge.net/papers/nesc-ref.pdf
But, as with all bibles, the "why" question is left as an exercise for the reader. In this case the BNF is also somewhat higher-level as well. E.g., the grammar for '=' and '->' appears to be the same, but the the semantics are markedly distinct. MS Andrea Crotti wrote: > You're right, it does work! > Thanks a lot! > But why do you need that line with the =? > And what is the = is supposed to do? > > Is it taken only by the nesc compiler right has nothing to do with the > standard C assignment? > > Il giorno 03/giu/2010, alle ore 16.12, Mark Proctor ha scritto: > >> Hi, >> I think you have to wire LedsModC to LedsModP as well. >> >> maybe this will work: >> >> configuration LedsModC { >> provides interface LedsMod; >> } >> >> implementation { >> components LedsC; >> components LedsModP; >> >> LedsMod=LedsModP.ledsMod; >> >> LedsModP.Leds -> LedsC.Leds; >> } >> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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