Thanks a lot for this, that's exactly what I was looking for.
This is very cheap, small, and low power.
I'm still waiting to receive one to try.
Please note the existance of existing libraries including a wiring library which looks great:
https://hackaday.io/project/5794-nrf24le1-wiring-library
It is written by Justin who just posted above.
There is also a rf24.h there, I don't know if it is compatible with arduino's lib?
It seems you have made your own digitalRead/Write?
I'm still very new to all this.
I will start to setup a dev environment (ubuntu) and try to compile your stuff.
Do you plan something else?
Create a library? Is MySensor only C++? Is there a plan to create a C MySensor library?
Too bad that most MySensor examples are in C++...
Would you like to create a github repo?