Skip to content

Commit af62184

Browse files
authored
Maximum 10 data per second + Mu plotter syntax
This should fix issue #57
1 parent e8f72b0 commit af62184

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/ble_bluefruit_connect_plotter.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# CircuitPython Bluefruit LE Connect Plotter Example
22

3+
import time
34
import board
45
import analogio
56
import adafruit_thermistor
@@ -29,5 +30,6 @@ def scale(value):
2930
ble.stop_advertising()
3031

3132
while ble.connected:
32-
print(scale(light.value), thermistor.temperature)
33+
print((scale(light.value), thermistor.temperature))
3334
uart_server.write('{},{}\n'.format(scale(light.value), thermistor.temperature))
35+
time.sleep(0.1)

0 commit comments

Comments
 (0)