Merge pull request #58 from dglaude/patch-1
Maximum 10 data per second + Mu plotter syntax
This commit is contained in:
commit
4621e97568
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# CircuitPython Bluefruit LE Connect Plotter Example
|
||||
|
||||
import time
|
||||
import board
|
||||
import analogio
|
||||
import adafruit_thermistor
|
||||
|
|
@ -29,5 +30,6 @@ while True:
|
|||
ble.stop_advertising()
|
||||
|
||||
while ble.connected:
|
||||
print(scale(light.value), thermistor.temperature)
|
||||
print((scale(light.value), thermistor.temperature))
|
||||
uart_server.write('{},{}\n'.format(scale(light.value), thermistor.temperature))
|
||||
time.sleep(0.1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue