I have this working, with a digispark sending (I checked receiving worked too) and an Arduino Uno receiving. [snip] Good Luck.
I had a heck of a time compiling this. But I finally did, so I'll save you some time and share. All prior posts are sadly misleading. Here's how to actually get it to compile (as of 3/12/2014).
1 - Take the nrf24*.* from
https://github.com/kehribar/nrf24L01_plus and put them into a folder called "nrf24" in your arduino install
libraries or your personal
libraries.
2 - Close _ALL_ open Arduino sketch editor winows and re-open your sketch
3 - Under Tools | Add Library... | nrf24 (bottom of the list)
4 - Per some of the earlier threads, rename:
#define PORT_ID PORT
B // PORTB Data Register handles values of pins PB0 - PB5 on the DigiSpark(ATTiny 85)
#define PIN_ID PIN
B // PINB Data Register (read only)
#define DDR_ID DDR
B // DDRB Data Direction Register handles input/output modes of pins PB0 - PB5 DigiSpark(ATTiny85)
because DigiSparks don't have a "D" port set, just a "B".
That should do it! Compiled size for receiver is 2,480 bytes, tx was 1168, still plenty left to do more interesting stuff.
As for the wiring. Per other posts, use this, it's a 3-pin variant and it uses a pretty LED to drop the voltage for NRF's 3.3.
http://nerdralph.blogspot.ca/2014/01/nrf24l01-control-with-3-attiny85-pins.htmlOnce I get this wired up, I'll update through successful tx/rx and final functional integration.
-B