From aafc5f2c77684ad9955ef22aeb9fdf1dff619e4b Mon Sep 17 00:00:00 2001 From: Pierrick C Date: Mon, 10 Sep 2018 10:00:26 +0200 Subject: [PATCH] Small changes in verbosity --- circuitpython/code/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circuitpython/code/main.py b/circuitpython/code/main.py index c39b037..6b0ddad 100644 --- a/circuitpython/code/main.py +++ b/circuitpython/code/main.py @@ -57,7 +57,7 @@ import cameteo # config # ########## -PRINT_DATA = True # Print data on USB UART / REPL output ? +PRINT_DATA = False # Print data on USB UART / REPL output ? DATA_TO_NEOPIXEL = True # Display atmospheric data as color on onboard neopixel ? GPS_ENABLE = True # Use GPS module ? UPDATE_INTERVAL = 10 # Interval between data acquisition (in seconds) @@ -111,7 +111,7 @@ while True: for src in data: src.write_on_flash(current_time) - src.send_json(current_time, uart=rpi_uart, verbose=PRINT_DATA) + src.send_json(current_time, uart=rpi_uart, verbose=True) # # First check if files need to rotate # last_rotation = rotate_files(last_rotation)