Hi,

I have an array who should keep track of number
of received pings  in 4 last minutes,
so for each minute I calculate the number of
received pings and  then I put theses numbers
in an array as below:

Table[tableIndex].receivedPings = receivedpings;
       tableIndex = (tableIndex + 1)TABLE_SIZE % ;

where TABLE_SIZE=4;

I guess,once the table index is equal 4, I should shift the array
elements to the left  circulary  but I'm not sure how can I do
this in a proper way.
Any thoughts?
Thanks,
B.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to