[Tinyos-help] Sensor board mts420

2010-05-25 Thread Alexandre Locci Martins
Hi I would like to know if there is some tutorial or code example about mts420 and micaz. I use linux in my PC and there is no mts420 folder so I do not know if my tinyos version has support for that sensor board. Tu -- Alexandre L. Martins ___

[Tinyos-help] Double and Float type/micaz

2010-05-21 Thread Alexandre Locci Martins
My application needs a precision computation, even a decimal value is a worth. I am using a variable with type double and float i.e. float k; k = (float)1/2; printf(k %f\n,k); The code above is fused into hardware(micaz) but the output is 'k ?'. Could anyone help me? -- Alexandre

[Tinyos-help] Output Temp.read()

2010-05-20 Thread Alexandre Locci Martins
Hi I want convert the data value into Celsus, in the micaz, but I do not know how. Could anyone help me? Tu. uinit_16 tempe = 0; event void Temp.readDone(error_t result, uint16_t data){ tempe = data; } -- Alexandre ___ Tinyos-help mailing

[Tinyos-help] mts300

2010-05-17 Thread Alexandre Locci Martins
Hello I am trying to do something like that: event void Temp.readDone(error_t result, uint16_t data){ tempe = tempe + data; call Leds.set(0); if (data = 25){ call Leds.set(1); }else{ call Leds.set(2); } cont ++; if (cont = 10){

[Tinyos-help] Help.

2010-05-07 Thread Alexandre Locci Martins
Hello I would like to know how if I could turn on or turn off the micaz power controler. It is the 14th pin at conector of the micaz. Tu. -- Alexandre ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] SPI communication Micaz

2010-05-05 Thread Alexandre Locci Martins
Hi for everybody I need to know if is possible use the micaz's SPI bus to communicate with another microcontroler. Because in the Crossboll's manual this is not possible. However, I read in some forums that could be done. Someone could help me. -- Alexandre

[Tinyos-help] Tossim

2010-04-19 Thread Alexandre Locci Martins
is Ubuntu 9.10. Any help. -- Alexandre Locci Martins ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] I need help.

2010-04-09 Thread Alexandre Locci Martins
Hi 4 everyone! I am a new user of TinyOS so my question could sound a little silly, but I really need help. What is the problem? I written a simple code like that... /*filename: SimpleAppC.nc*/ configuration SimpleAppC{ } implementation{ components SimpleC, MainC; SimpleC.Boot -