spacehuhn / ArduinoARPspoof

Kicks out everyone in your LAN via with an enc28j60 ethernet controller and Arduino.
MIT License
267 stars 90 forks source link

Error compiling for board Arduino Nano #16

Open dananjayalakshitha opened 4 years ago

dananjayalakshitha commented 4 years ago

i got a message while compiling the code on Arduino IDE. `#include

include

include

include

const uint64_t pipeIn = 0xE8E8F0F0E1LL; //pipe address must be same with transmitter

RF24 radio(7, 8);

struct MyData { byte p;

};

MyData data;

void setup() { Serial.begin(9600); radio.begin(); radio.setAutoAck(false); radio.setDataRate(RF24_250KBPS);

radio.openReadingPipe(1, pipeIn); radio.startListening(); pinMode(2, OUTPUT); }

void recvData() { if ( radio.available() ) { radio.read(&data, sizeof(MyData));

if (data.p < 50) {
  digitalWrite(2, HIGH);
}
else {
  digitalWrite(2, LOW);
}

} } void loop() { recvData(); Serial.print("Range: "); Serial.print(data.p);

} `

exit status 1 Error compiling for board Arduino Nano.

im using nRF24L01 module with arduino nano. please help me....

TheStaticTurtle commented 4 years ago

What does this have to do whit this project ?