Hi Simone,

send to you a simple example, i wait that help you.

A greeting,
Juan Antonio.


2007/4/29, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:

Thanks a lot for answer

Hi, ja.lopez.riquelme; i understand it(or i hope) and i want ask you more
help with this code:

in a module i wrote this:

void output Task(){
uint16_t rCopy;
rCopy=reading;

call Intoutput.output(rCopy);
}

event result_t Timer.fired(){
post output Task();

}

/**and in this module i define "reading" like uint16_t and all needed for
timer**/

than in Other module i wrote:

command result_t IntOutput.output(uint16_t value) {
TimeP=value;
}

/**Here i define "TimeP" like uint16_t and i binding the interface**/

i want that "TimeP" have teh same value of "reading" but this doesn't
happen. Can you help me to arrive to may aim?
Thanks and sorry for bad english



------------------------------------------------------
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada



_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Attachment: variables.rar
Description: Binary data

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to