5 * Test of the DataLogger class. Logs 600 floating point
\r
6 * numbers and then transmits them to the PC.
\r
8 * Run lejos.pc.tools.DataViewer on the PC to view the logged data.
\r
10 * Once the program has transmitted data to the PC, it waits
\r
11 * for a button press. Press ENTER to log and transmit more data,
\r
12 * or ESCAPE to exit the program.
\r
14 * The sample is set up to transmit over Bluetooth. To use
\r
15 * USB, set the parameter to transmit to true;
\r
17 * @author Roger Glassey and Lawrie Griffiths
\r
22 public static void main(String[] args)
\r
26 Datalogger dl = new Datalogger();
\r
27 boolean more = true;
\r
30 for(int i = 0 ; i<size; i++)
\r
35 dl.transmit(false);
\r
38 LCD.drawString("more?",0,2);
\r
40 more = 1 == Button.waitForPress();
\r