Skip to content

Commit 4621e97

Browse files
authored
Merge pull request #58 from dglaude/patch-1
Maximum 10 data per second + Mu plotter syntax
2 parents bad77d0 + af62184 commit 4621e97

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)