fixed docstring

pull/1/head
Simon Pirkelmann 2019-11-30 20:59:38 +01:00
parent e02cdb5242
commit f5f7b62283
1 changed files with 2 additions and 2 deletions

View File

@ -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)