pynrf24 icon indicating copy to clipboard operation
pynrf24 copied to clipboard

How to use without IRQ?

Open hongquan opened this issue 8 years ago • 2 comments

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.

hongquan avatar Apr 28 '16 08:04 hongquan

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

ptagl avatar Jan 12 '18 12:01 ptagl

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

hongquan avatar Jan 12 '18 17:01 hongquan