From f5f7b62283d7356c91b776be2e4b0b41272d47c5 Mon Sep 17 00:00:00 2001 From: spirkelmann Date: Sat, 30 Nov 2019 20:59:38 +0100 Subject: [PATCH] fixed docstring --- micropython/lora_transceiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/micropython/lora_transceiver.py b/micropython/lora_transceiver.py index ef52a71..8b2b509 100644 --- a/micropython/lora_transceiver.py +++ b/micropython/lora_transceiver.py @@ -4,8 +4,8 @@ from uPyLora.controller_esp32 import ESP32Controller class LoRaTransceiver: def __init__(self, spreadingfactor=7, bandwidth=125E3, frequency=868E6, syncword=0x12, display=None): - # set up radio module - # SX127x LoRa module configured for LoRaWAN Channel 0 + """ set up radio module + """ self.controller = ESP32Controller() self.lora = self.controller.add_transceiver(SX127x(name='LoRa'), pin_id_ss=ESP32Controller.PIN_ID_FOR_LORA_SS, pin_id_RxDone=ESP32Controller.PIN_ID_FOR_LORA_DIO0)