Hi,

I would like to integrate my TinyOS application with C files (".c" or ".h"
files),
So I can use old pieces of programs in my TinyOS application.

I did it and it works fine if my C modules are just functions and variables,
something about the following code:

______________________________________
static unsigned long count=0;

unsigned long giveMe(void)
{
    count++;
    return (count%3);
}
_____________________________________

What if I want to call TinyOS functions from C files?
What can I do if I need to switch a Led on from "giveMe" function?


Regards,
Antonio Guerrieri

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 RICCIONE FAMILY HOTELS: 
* Cerchi un hotel per famiglie a Riccione ? Visita il sito 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=8059&d=9-7
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to