|
|||||||||
| 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.
Default size is 512. Capacity is limited only by the available ram.
| Constructor Summary | |
|---|---|
Datalogger()
buld a Datalogger with default size 512 |
|
Datalogger(int size)
build a new Datalogger with capacity = size; |
|
| Method Summary | |
|---|---|
void |
reset()
Clears the log; next write is at the beginning; |
void |
transmit()
transmit the stored values to the PC via USB or bluetooth; Displays " ESC for BT". |
void |
transmit(boolean useUSB)
obsolete - older version API. |
void |
writeLog(float v)
write a float value to the log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Datalogger()
public Datalogger(int size)
size - the capacity of the Datalogger| Method Detail |
|---|
public void writeLog(float v)
v - public void reset()
public void transmit()
public void transmit(boolean useUSB)
useUSB -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||