Daniel,
   in the file Oscilloscope.nc, change the line

configuration Oscilloscope { }
implementation
{
  components Main, OscilloscopeM
           , TimerC
           , LedsC
           , Photo as Sensor
.....

to the following:
           , Temp as Sensor

Then recompile as usual, for instance for Mica2's with MTS101 sensor boards, use the following command:
$ SENSORBOARD=basicsb make mica2

Hope that helps.

Pablo


[EMAIL PROTECTED] wrote:

Date: Wed, 11 Jan 2006 20:02:22 +1100
From: Daniel Larsson <[EMAIL PROTECTED]>
Subject: [Tinyos-help] OscilloscopeRF with temp sensor ?
To: [email protected]
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Hi

I read in the Oscilloscope.nc file "The default sensor used is the Photo
component."

Has anyone modified it (or know how to) for the temp sensor ?
I'm using a mica2 with a mts310 sensor board.

Best Regards,
Daniel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060111/f1207b04/attachment-0001.html

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

Reply via email to