|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlejos.util.Datalogger
public class Datalogger
Datalogger class; stores float values then then transmits via bluetooth or usb
works with DataViewer in pctools.
A maximum of 2000 data values can be stored.
| Constructor Summary | |
|---|---|
Datalogger()
|
|
| Method Summary | |
|---|---|
void |
reset()
Clears the log; next write is at the beginning; |
void |
transmit(boolean useUSB)
transmit the stored values to the PC via USB or bluetooth; Displays "waiting" , so then start the DataViewer. |
void |
writeLog(float v)
write a float value to the log |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
| Constructor Detail |
|---|
public Datalogger()
| Method Detail |
|---|
public void writeLog(float v)
v - public void reset()
public void transmit(boolean useUSB)
useUSB - if false, uses Bluetooth
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||