Yes, right that. This is what I do and honestly, even while nesC was intended to design modules avoiding dynamic memory allocation, plain C saves time for me when dealing with signal processing algorithms. At least until a good math-module library is available in nesC.
Perhaps, it may be a good idea to define a module template/prototype for defining math/signal-processing functions. Cheers! Sergio On Sat, Aug 6, 2011 at 12:42 PM, Nahr Elk <[email protected]> wrote: > Hello Sergio, > > Thanks for your prompt. You mean that I should make a mathematical library > in C and then I link it in my nc application, isn't it? > > Ok, I will try this. > > Thank you. > > Best regards, > Nahr Elk > > > 2011/8/6 Sergio Valcarcel <[email protected]> > >> Hi Nahr, >> >> My suggestion is to program the mathematical parts in C and the >> communication parts in nesC. >> >> Good luck! >> Sergio >> >> On Sat, Aug 6, 2011 at 1:03 AM, Nahr Elk <[email protected]> wrote: >> >>> Hello, >>> >>> I would like please to implement the least mean square algorithm on >>> sensors using nc language. >>> Is this feasible? May somebody help me to do it. >>> >>> Thanks. >>> >>> Best regards, >>> Nahr Elk >>> >>> _______________________________________________ >>> Tinyos-help mailing list >>> [email protected] >>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>> >> >> >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
