Closed dcmk1mr2 closed 8 months ago
Hi,
This might be because your radio module is on a different SPI device chip select than the default.
You can change this selection by adding --spidevice 1
to the command (the default is 0)
Fixed! Thanks so much for the great SW!
pi@sstv:~/wenet/tx $ python3 init_rfm98w.py --frequency 443.424 Using deviation of 71797 Hz for Baud Rate 115200 bd. Mode <- SLEEP Traceback (most recent call last): File "/home/pi/wenet/tx/init_rfm98w.py", line 85, in
setup_rfm98w(frequency=tx_freq, spi_device=args.spidevice, shutdown=args.shu tdown, deviation=deviation)
File "/home/pi/wenet/tx/init_rfm98w.py", line 42, in setup_rfm98w
lora.set_freq(frequency)
File "/home/pi/wenet/tx/SX127x/LoRa.py", line 274, in set_freq
assert self.mode == MODE.SLEEP or self.mode == MODE.STDBY or self.mode == MO DE.FSK_STDBY
AssertionError
Mode <- SLEEP
MODE=SLEEP