Go to advanced search

by TimK
Fri Jan 30, 2015 9:51 am
Forum: HATs and other add-ons
Topic: NRF24L01+ in Python
Replies: 30
Views: 40516

Re: NRF24L01+ in Python

I entered "sudo useradd -G spi pi" , and it says: "useradd: user 'pi' already exists". So I guess it was already done before.
Anything else I should try ??
by TimK
Mon Jan 26, 2015 8:36 am
Forum: HATs and other add-ons
Topic: NRF24L01+ in Python
Replies: 30
Views: 40516

Re: NRF24L01+ in Python

What id are you using? root or pi? or are you prefixing your command with sudo? If pi without sudo, then has pi been added to the spi group? sudo useradd -G spi pi I tried it with (.../nrf.../examples/) sudo python send.py. I will try "sudo useradd -G spi pi" when i get back home since i am in coll...
by TimK
Sun Jan 25, 2015 9:29 pm
Forum: HATs and other add-ons
Topic: NRF24L01+ in Python
Replies: 30
Views: 40516

Re: NRF24L01+ in Python

What kernel version are you using? Have a look with uname -r. Have you enabled SPI using the advanced options in sudo raspi-config? My kernel version is 3.12.35+. SPI is enabled in my raspi-config (also commented on blacklist). I am also using spidev from https://pypi.python.org/pypi/spidev . Thank...
by TimK
Sun Jan 25, 2015 7:28 pm
Forum: HATs and other add-ons
Topic: NRF24L01+ in Python
Replies: 30
Views: 40516

Re: NRF24L01+ in Python

Post by luisantunes » Thu Nov 27, 2014 8:13 pm Even after changing the radio.begin() and include 4 arguments, I received this error: File "recv.py", line 14, in <module> radio.begin(1, 0, "P8_23", "P8_24") File "/home/pi/pynrf24/examples/nrf24.py", line 353, in begin self.spidev.open(major, minor) ...

Go to advanced search