You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lib doesn't support multipple SPI LoRa modules.
When i create a multipple SX126x() objects all seams to work. But in reality it works with only 1 module.
Here what i modified in the library and now it is all works:
Removed this: spi = spidev.SpiDev()
Added this: self._spi = spidev.SpiDev()
to def setSpi function of the object.
Please confirm it is right. And may be add to the lib. So people can use multiple modules.
The text was updated successfully, but these errors were encountered:
Hello Dear,
The lib doesn't support multipple SPI LoRa modules.
When i create a multipple SX126x() objects all seams to work. But in reality it works with only 1 module.
Here what i modified in the library and now it is all works:
Removed this:
spi = spidev.SpiDev()
Added this:
self._spi = spidev.SpiDev()
to def setSpi function of the object.
Please confirm it is right. And may be add to the lib. So people can use multiple modules.
The text was updated successfully, but these errors were encountered: