jpbarraca / pynrf24

Python port of the RF24 library for NRF24L01+ radios.
GNU General Public License v2.0
152 stars 84 forks source link

How to use without IRQ? #28

Open hongquan opened 8 years ago

hongquan commented 8 years ago

I'm trying pynrf24. I don't use IRQ in my device, but don't know how to use this library in this case. The begin() method seems to require the IRC pin:

def begin(self, major, minor, ce_pin, irq_pin):
    GPIO.setup(self.irq_pin, GPIO.IN, pull_up_down=GPIO.PUD_UP)

But if I pass a random GPIO pin, the code radio.available(pipe) doesn't work.

ptagl commented 6 years ago

I'm facing the same problem, did you find out how to make it working without IRQ?

hongquan commented 6 years ago

No. Now we stop using nRF24. We instead use a module which let connect via serial port. No hassle of SPI.