Fixed " being randomly at the end of lora_pingpong.py

This commit is contained in:
BlueFox 2024-03-30 16:13:24 +00:00
parent 27768b272a
commit 22ea013871

View File

@ -182,7 +182,7 @@ parameters = {
'invert_IQ': False,
}
lora = SX127x(device_spi, pins={"dio_0": 6, "ss": 5, "led": 27}, parameters=parameters)"
lora = SX127x(device_spi, pins={"dio_0": 6, "ss": 5, "led": 27}, parameters=parameters)
# The run function (for different options; see below the "if __name__ == ..." section)
@ -194,7 +194,7 @@ def run_wo_lcd_init():
def run_lcd_resp():
pingpong(lora, initializer=False, lcd_connected=True)
def run_wo_lcd_resp():
pingpong(lora, initializer=False, lcd_connected=False)"
pingpong(lora, initializer=False, lcd_connected=False)
if __name__ == "__main__":
#run_lcd_resp() # run as responder (with lcd)