From 7125a784d9d23febc8d188b38eb6fc53d984666a Mon Sep 17 00:00:00 2001 From: idgay Date: Mon, 13 Aug 2007 15:51:20 +0000 Subject: [PATCH] clarify need for BaseStation mote --- apps/Oscilloscope/README.txt | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/apps/Oscilloscope/README.txt b/apps/Oscilloscope/README.txt index a0a01b0b..cf43109b 100644 --- a/apps/Oscilloscope/README.txt +++ b/apps/Oscilloscope/README.txt @@ -3,11 +3,12 @@ Author/Contact: tinyos-help@millennium.berkeley.edu Description: -Oscilloscope is a simple data-collection demo. It periodically samples the -default sensor and broadcasts a message every 10 readings. These readings -can be displayed by the Java "Oscilloscope" application found in the java -subdirectory. The sampling rate starts at 4Hz, but can be changed from the -Java application. +Oscilloscope is a simple data-collection demo. It periodically samples +the default sensor and broadcasts a message over the radio every 10 +readings. These readings can be received by a BaseStation mote and +displayed by the Java "Oscilloscope" application found in the java +subdirectory. The sampling rate starts at 4Hz, but can be changed from +the Java application. You can compile Oscilloscope with a sensor board's default sensor by compiling as follows: @@ -17,9 +18,11 @@ You can change the sensor used by editing OscilloscopeAppC.nc. Tools: -The Java application displays readings it receives from motes running the -Oscilloscope demo via a serial forwarder. To run it, change to the java -subdirectory and type: +To display the readings from Oscilloscope motes, install the BaseStation +application on a mote connected to your PC's serial port. Then run the +Oscilloscope display application found in the java subdirectory, as +follows: + cd java make java net.tinyos.sf.SerialForwarder -comm serial@: # e.g., java net.tinyps.sf.SerialForwarder -comm serial@/dev/ttyUSB0:mica2 -- 2.39.2