Using an UNO R3, I can't make the onboard LED blink when I have radio.begin un-commented in the following sketch. The LED blinks as intended without radio.begin in the setup. I've tried using digital.write and also tried using direct port manipulation. Could someone please tell me what I'm doing wrong?
#include <RF24.h>
RF24 radio(9, 10); // CE, CSN
const byte address[6] = "00001";
int LEDPwr = 13;
void setup()
{
//radio.begin();
pinMode(LEDPwr, OUTPUT);
digitalWrite (LEDPwr, LOW);
}
void loop()
{
digitalWrite (LEDPwr, HIGH);
_delay_ms(500);
digitalWrite (LEDPwr, LOW);
_delay_ms(500);
}
Thanks for any help.
TABEAR