aaronds / arduino-nrf24l01

An Arduino port of the http://www.tinkerer.eu/AVRLib/nRF24L01 library.
229 stars 181 forks source link

Mirf.h doesn't compile in arduino 1.0 #1

Open td-gonzales opened 12 years ago

td-gonzales commented 12 years ago

The following lines need to be added to the Mirf.h header file.

if defined(ARDUINO) && ARDUINO >= 100

include "Arduino.h"

else

include "WProgram.h"

include

endif