]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/Oscilloscope/README.txt
Changed the default to be that all platforms #include stdio.h unless specifically...
[tinyos-2.x.git] / apps / Oscilloscope / README.txt
index a0a01b0bef81a7c8705e65b0f802f1a2448e29cf..035ff0f5ce6cbaf374cbb3e62cdc6f0b92f6ed73 100644 (file)
@@ -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,16 +18,18 @@ 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@<serial port>:<mote>
-  # e.g., java net.tinyps.sf.SerialForwarder -comm serial@/dev/ttyUSB0:mica2
-  # or java net.tinyps.sf.SerialForwarder -comm serial@COM2:telosb
+  # e.g., java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyUSB0:mica2
+  # or java net.tinyos.sf.SerialForwarder -comm serial@COM2:telosb
   ./run
 
-The controls at the bootom of the screen allow yoy to zoom in or out the X
+The controls at the bottom of the screen allow you to zoom in or out the X
 axis, change the range of the Y axis, and clear all received data. You can
 change the color used to display a mote by clicking on its color in the
 mote table.