Hi Antonio, Tosthreads already provides blocking ADC read, which is the basis for reading internal temperature and voltage values. I can check in the TOSThread version of Msp430InternalTemperatureC.nc and Msp430InternalVoltageC.nc.
Thank you Mike On Sep 11, 2008, at 4:25 AM, Antonio wrote: > But, > What Blocking file can I use to read Internal Temperature > and Voltage value? > Thanks a lot. > > Antonio > > -----Messaggio originale----- > Da: Kevin Klues [mailto:[EMAIL PROTECTED] > Inviato: mercoledì 10 settembre 2008 16.41 > A: Antonio > Cc: [email protected] > Oggetto: Re: [Tinyos-help] Blocking Sensor Reading > > You have to use threads. Take a look at the apps (and their READMEs) > in apps/tosthreads as well as TEP 134. A tutorial will be coming out > soon that explains better how to use all of the new tosthreads > features. For now, these are the only resources. > > Kevin > > On Wed, Sep 10, 2008 at 4:02 AM, Antonio > <[EMAIL PROTECTED]> wrote: >> Hi All, >> >> I want to read some sensor value with Blocking readings. >> >> I'm using T-mote Sky Telosb and I would like to read Internal >> Temperature >> and Voltage value. >> >> To do this I'm taking a look at "tosthreads" files, in the >> "tinyos-2.x/tos/lib/tosthreads/" folder. Here I found these files: >> >> >> >> BlockingHamamatsuS10871TsrC.nc, BlockingHamamatsuS1087ParC.nc, >> BlockingSensirionSht11C.nc, BlockingSensirionSht11ReaderImplP.nc, >> BlockingSensirionSht11ReaderP.nc, CHamamatsuS10871TsrC.nc, >> CHamamatsuS10871TsrP.nc, CHamamatsuS1087ParC.nc, >> CHamamatsuS1087ParP.nc, >> CSensirionSht11C.nc, CSensirionSht11P.nc, >> >> >> >> But I don't know if they are what I'm looking for and I can't find >> explanations about these files. >> >> Someone can help me? How can I use them? >> >> >> >> One more question: Can I do Blocking Readings with these files (or >> other >> files) calling them from a normal nesC file? Or I have to use >> Threads to > use >> that? >> >> >> >> Thanks in advance. >> >> Regards, >> >> Antonio Guerrieri >> >> >> ---- >> Email.it, the professional e-mail, gratis per te:clicca qui >> >> Sponsor: >> Grande concorso Whiskas "Tigrotti Felici". Partecipa e vinci due >> mesi di >> fornitura Whiskas per il tuo gatto e altri fantastici premi per te! >> Clicca qui >> >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > > > -- > ~Kevin > > > > -- > Email.it, the professional e-mail, gratis per te: http:// > www.email.it/f > > Sponsor: > Cerchi un hotel a Riccione, Rimini o Misano Adriatico ? Visita il > sito rivieraparkhotels.it. > * Gli alberghi dei parchi divertimento > Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid‚62&d-9 > > _______________________________________________ > 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
