Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4921

Beginners • Re: Python library for nRF24L01 modules.

$
0
0
Which RPI are you using?

Have you seen this tutorial https://www.theengineeringprojects.com/ ... -pi-4.html

It looks like you need to install nrf24 https://pypi.org/project/nrf24/. Try this

Code:

$ pip3 install nrf24Collecting nrf24  Downloading nrf24-2.0.0-py3-none-any.whl (11 kB)Collecting pigpio  Downloading pigpio-1.78-py2.py3-none-any.whl (39 kB)Installing collected packages: pigpio, nrf24Successfully installed nrf24-2.0.0 pigpio-1.78
However, I found I had to use the following code instead of the one in the tutorial

Code:

>>> from nrf24 import NRF24
Hope this helps

Statistics: Posted by DS256 — Thu Feb 22, 2024 10:29 pm



Viewing all articles
Browse latest Browse all 4921

Trending Articles