Content originally posted in LPCWare by Luis Digital on Sat Apr 21 07:50:48 MST 2012
Quote: Rob65
Luis,
do you know if this device can also communicate with ANT devices, are there any (free) ANT+ stacks available?
I currently use an ANT+ tranceiver (the nRF24AP1) but it's way more expensive than the L01 version (3 EUR or 6 EUR).
You might want to provide a bit more documentation regarding the use of the library.
Do you first init, then configure the device addresses, do a Write_TX_Buf and then call RF_TX to switch on the transmitter and transmit the packet?
I find it helpful to point to certain sections in the datasheet (especially where you could show how the library relates to things like timing diagrams and flow charts)
One thing I dislike on doxygen is that it places your documentation in alphabetic order instead of a logical one. My code groups functions in a logical order and then doxygen shuffles everything again.
You also might want to replace some defines to start with NRF24L01 _TX_MODE is too general and could be used by others as well (not if they follow my rules ;)).
Looks good though. Document before code - I'm getting jealous :)
One more thing: Did you integrate doxygen into LPCXpresso ?
That might be useful for a lot of us.
Cheers,[INDENT]Rob
[/INDENT]
I do not think that works with the chip nRF24AP1.
In the examples you can see how to transmit and receive, it is very easy. It is as you described.
And yes, I was thinking about using "NRF24l01" in all the constants, but the name is too long.