SparkFun Forums 

Where electronics enthusiasts find answers.

All things pertaining to wireless and RF links
By brennen
#26132
There is a new version of this software. It is considerably easier to use and implement for nearly any microcontroller. Please see this post: viewtopic.php?t=6855


Hey guys. After working with my 24L01's again, I have made a lot of revisions to my include library. I made it clear the user-written functions that are needed for SPI and delay, and I also implemented a large number of new functions. I also fixed a couple of bad #defines I had in the old header file. Feel free to use them and give me feedback.

nrf24l01.h, nrf24l01.c
Last edited by brennen on Tue Apr 24, 2007 6:05 am, edited 1 time in total.
By ssaguiar
#26256
In your nrf24l01.h file , there is an include statement:

#include "lpc214x.h"

Is this a compiler include file? If not how can I download it?


Thank you.


Sergio
By brennen
#26259
This is the include file for my specific processor. It contains all the defines for the registers on the processor. Therefore, change this include file to whatever include file you have for your processor's registers. Alternatively, you can try to just comment out or remove the statement once you change your other defines and see if it compiles. If the compiler still says you're missing definitions, then you will have to try including your processor's include file.
By aminkhalid
#26842
hello,i'm new here...is there anyone who did nrf24l01 based on PIC microC?
By brennen
#26843
To my knowledge no. Although I can't imagine that this code wouldn't work with your compiler as long as you set up your #defines correctly in the .h file. Let me know if you have any questions if your compiler complains or the code doesn't work.