Fixed " being randomly at the end of lora_pingpong.py
This commit is contained in:
parent
27768b272a
commit
22ea013871
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user