From b01005f9824f0fcc603ed9d2a2db2c20ae674dc7 Mon Sep 17 00:00:00 2001 From: Dave Astels Date: Wed, 24 Apr 2019 09:07:18 -0400 Subject: [PATCH] Tweak --- CircuitPython_Logger/ble_handler.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/CircuitPython_Logger/ble_handler.py b/CircuitPython_Logger/ble_handler.py index aa4b254eb..c74aa4c4c 100644 --- a/CircuitPython_Logger/ble_handler.py +++ b/CircuitPython_Logger/ble_handler.py @@ -1,5 +1,5 @@ """ -UART based message handler for CircuitPython logging. +BLE based message handler for CircuitPython logging. Adafruit invests time and resources providing this open source code. Please support Adafruit and open source hardware by purchasing @@ -15,19 +15,6 @@ All text above must be included in any redistribution. #pylint:disable=missing-super-argument -# Example: -# -# import board -# import busio -# from uart_handler import UartHandler -# import adafruit_logging as logging -# -# uart = busio.UART(board.TX, board.RX, baudrate=115200) -# logger = logging.getLogger('uart') -# logger.addHandler(UartHandler(uart)) -# logger.level = logging.INFO -# logger.info('testing') - from adafruit_logging import LoggingHandler from adafruit_ble.uart import UARTServer