[Tinyos-help] Assign value to an array NesC

Eric Decker cire831 at gmail.com
Mon Dec 2 11:46:30 PST 2013


she has code buried in the middle of declarations.


On Mon, Dec 2, 2013 at 10:59 AM, Philip Levis <pal at cs.stanford.edu> wrote:

> There should be no difference between a C for loop and a nesC one: nesC is
> a C dialect. I have no idea what your problem might be; I think that's
> people's concern, that the bug is actually elsewhere for some reason. Could
> you provide a full file?
>
> Phil
>
> -------
> Philip Levis
> Associate Professor
> Computer Science and Electrical Engineering
> Stanford University
> http://csl.stanford.edu/~pal
>
> On Dec 1, 2013, at 12:50 PM, nivedita datta <sweetnivi88 at gmail.com> wrote:
>
> > uint8_t i;
> > uint8_t in[16] =
> {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
> >
> >     for (i=0; i<10; i++) {
> >       in[i] = i; }
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20131202/9f3cebf9/attachment-0001.htm 


More information about the Tinyos-help mailing list