Also, you can use the @C() attribute to make it global, e.g.:

uint8_t myglobal @C();

Janos

On Mon, Oct 17, 2011 at 5:31 AM, wasif masood <[email protected]> wrote:
>
> Hi all,
> I am wondering is it possible to define a global variable in nesC which is
> to be visible to all components in the project? If not, what are other good
> approaches against that?
> BR,
> Wasif Masood
>
>
> _______________________________________________
> 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

Reply via email to