2018-10-19 04:15:51 +03:00
|
|
|
dataStreamer.writeNumber(1 / 5, 1);
|
2018-10-19 02:26:24 +03:00
|
|
|
dataStreamer.writeLine();
|
2018-10-19 04:15:51 +03:00
|
|
|
dataStreamer.writeNumber(20 / 3, 2);
|
2018-10-19 02:26:24 +03:00
|
|
|
dataStreamer.writeLine();
|
2018-10-19 04:15:51 +03:00
|
|
|
dataStreamer.writeNumber(400 / 35, 3);
|
2018-10-19 02:26:24 +03:00
|
|
|
dataStreamer.writeLine();
|
2018-10-19 04:15:51 +03:00
|
|
|
dataStreamer.writeNumber(1000 / 2, 4);
|
2018-10-19 02:26:24 +03:00
|
|
|
dataStreamer.writeLine();
|
2018-10-19 04:15:51 +03:00
|
|
|
dataStreamer.writeNumber(1002, 5);
|
2018-10-19 02:26:24 +03:00
|
|
|
dataStreamer.writeLine();
|
2018-10-19 03:15:10 +03:00
|
|
|
dataStreamer.writeNumber(10000002 / 458, 6);
|
2018-10-19 02:26:24 +03:00
|
|
|
dataStreamer.writeLine();
|
2018-10-19 04:15:51 +03:00
|
|
|
dataStreamer.writeNumber(0, 7);
|
2018-10-19 02:26:24 +03:00
|
|
|
dataStreamer.writeLine();
|
2018-10-19 04:15:51 +03:00
|
|
|
dataStreamer.writeNumber(-1, 0);
|
2018-10-19 02:26:24 +03:00
|
|
|
dataStreamer.writeLine();
|
2018-10-19 04:15:51 +03:00
|
|
|
dataStreamer.writeNumber(-1000 / 3, 1);
|
2021-11-11 21:37:36 +03:00
|
|
|
dataStreamer.writeNumberArray([5, 2 / 5, 44 / 444, 5 / 5], 1);
|
|
|
|
|
|
|
|
forever(() => {
|
|
|
|
led.toggle(0, 0)
|
|
|
|
dataStreamer.writeNumber(input.lightLevel() / 0xff, 3)
|
2021-11-11 22:03:48 +03:00
|
|
|
dataStreamer.writeString(",")
|
|
|
|
dataStreamer.writeNumber(input.acceleration(Dimension.X) / 1024, 3)
|
2021-11-11 21:37:36 +03:00
|
|
|
dataStreamer.writeLine();
|
|
|
|
pause(50)
|
|
|
|
})
|