jpbarraca / pynrf24

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

IOError: [Errno 2] No such file or directory #38

Closed promistrio closed 3 years ago

promistrio commented 5 years ago

Hi! After python examples/recv.py Traceback (most recent call last): File "examples/recv.py", line 14, in <module> radio.begin(1, 0, "P8_23", "P8_24") File "/usr/local/lib/python2.7/dist-packages/nrf24.py", line 233, in begin self.spidev.open(major, minor) IOError: [Errno 2] No such file or directory

erpadmin commented 5 years ago

did you figure this out? i have the same error. tried changing first 2 params to know good major/minor

Arnauec-zz commented 5 years ago

Any update on this? I'm facing the same issue :(

psmitty7373 commented 5 years ago

Are you using a pi, by chance? Try calling begin with begin(0, 0... instead of begin(1, 0...