Yeah!
this github is 10 years old and I'm still using it!
long time ago I found a bug with the SPI speed.
1 - you need to set the spi speed
in lib_nrf24.py you need to add the spi speed.About your code
The second nrf24L01 should be
radio2.begin(0,25,1)
Also I'm no shure if you could use the same pin for csn_pin which is GPIO25 right now
this github is 10 years old and I'm still using it!
long time ago I found a bug with the SPI speed.
1 - you need to set the spi speed
in lib_nrf24.py you need to add the spi speed.
Code:
def begin(self, csn_pin, ce_pin=0): # csn & ce are RF24 terminology. csn = SPI's CE! self.spidev.open(0, csn_pin) self.spidev.max_speed_hz=8000000 self.ce_pin = ce_pin
The second nrf24L01 should be
radio2.begin(0,25,1)
Also I'm no shure if you could use the same pin for csn_pin which is GPIO25 right now
Statistics: Posted by danjperron — Fri Jan 19, 2024 1:53 pm