But I get an error.emssage file not found. This should be corrected.
Then nect thing. If you donwload coe from GitHUB as the zip-file GitHub automaically adds "-master" to the zipfile name and the directory inside the zip-file has an appendix "-master" two.
Now the Arduino-IDE expects a library in a folder with the exact same name as the file itself. GitHub does break up this.
So what is the proper way to install the two libraries
nRF24L01.h and RF24.h to make code that calls them as
if I put myself into the position of a newbee I'm lost with this link
It quotes a lot of extra links. Which one is the one to use to download the nRF24-library?
As I know a little bit about OSI-layers I have douts to all these links if I can find the nRF24-library itself.
All links seem to guide to the demo-codes but not to the library itself
StefanL38:
Then nect thing. If you donwload coe from GitHUB as the zip-file GitHub automaically adds "-master" to the zipfile name and the directory inside the zip-file has an appendix "-master" two.
Now the Arduino-IDE expects a library in a folder with the exact same name as the file itself.
Although it's best practices to install libraries to a folder name that matches the primary header file name, it's not required. You'll usually have no problem with leaving the "-master" suffix on the folder name, but you're also welcome to remove it if you like. The only time this will cause a problem is if you have the same file in a folder that does match, but you want the one in the "-master" folder to be used. The Arduino build system gives preference to the library with the best folder match.
StefanL38:
So what is the proper way to install the two libraries
Please always use Arduino Library Manager:
Sketch > Include Library > Manage Libraries...
Wait for the update to finish.
In the "Filter your search" box, type: "rf24"
Press Enter
From the list of search results, click on "RF24 by TMRh20".
Click the "Install" button.
Wait for the installation to finish.
Click the "Close" button.
StefanL38:
if I put myself into the position of a newbee I'm lost with this link
It quotes a lot of extra links.
That link is to the nRF24 GitHub organization. The links you see are all the individual projects (repositories) owned by that organization.
StefanL38:
Which one is the one to use to download the nRF24-library?
The nRF24 Arduino library repository is at the link Robin2 has now added to the tutorial you mentioned:
But if you only want to install the library then the best way to do it is via the Arduino Library Manager
The TMRh20 version of the library is the only one available from Library Manager, so if you are doing a fresh install of the library via Library Manager then you'll always get the TMRh20 version. Because the ManiacBug version of the library uses the old "Arduino 1.0 library format", Library Manager can tell that it's different from the TMRh20 version available from Library Manager so it will refuse to overwrite it if you attempt to install when you already have the ManiacBug version installed:
Library RF24 is already installed in: e:\electronics\arduino\libraries\RF24
You can check the installed library's readme, or even the example sketches to see which version of the library you have installed.
In order to be added to the Library Manager index, each library must have a unique name. If another library was already added to the index with that name, the author of the newer library will need to change the name before it can be added. Although probably sometimes frustrating to library authors who didn't check to see which names were already taken when creating their library, I think it can help improve the situation we often run into with trying to figure out which of the multiple libraries of the same name a forum member's sketch was written for.
Arduino Lint actually has a check for whether the library has a unique name in order to help library authors avoid this disappointment when the time comes to submit it to Library Manager.
pert:
Although probably sometimes frustrating to library authors who didn't check to see which names were already taken when creating their library, I think it can help improve the situation we often run into with trying to figure out which of the multiple libraries of the same name a forum member's sketch was written for.
I'm very much in favour of each library having a unique name - even for an update that has some extra features.