Main Menu

Arduino libraries

Started by RAHUL QUADY, September 20, 2017, 12:18:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RAHUL QUADY

Hey guys I am working with a new arduino wireless project,which uses nrf24l0 modules,for communication.The thing is I need to download a special r24 library from net,an I did.When ever I compile my code,I get an error.I even tried to extract files from the zip file,to the library folder.But still I am getting the same error.Just tell me how should I need to include the library into my code.

RAHUL QUADY

here are few screenshots

RAHUL QUADY

this is my code

RAHUL QUADY

this is my code(not mine exactly,it's a reference from youtube)

RAHUL QUADY

compilation error

saikat

your library folder should be named exactly as the
name in the #include statement(without the .h) you have named it something else

by the way your code shows to include two library - are you sure
you want that

i am not an expert but try and see...

RAHUL QUADY

I've corrected the  mistakes,Iam still not getting anything. :help:

prasad.chodankar

I guess the project that you are writing about is the one shown by Dejan Nedelkovski, in his NRF24L01 Tutorial on YouTube. (i can see the same code, but with comments removed). The code seems to be fine... The problem is with the name of the library file that you have added. You need to remove the "-" that is there in the name and then add the Library in Arduino.

rastsaurabh

there is no easy way.....
1. first please read on how to include library ( google it)
2. location and naming are of importance
3. it MAY also happen that you will keep getting errors unless you remove and include it again
read and try .... read and try