RF24network and ESP

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
technotools
Normal user
Posts: 11
Joined: 10 Oct 2016, 00:45

RF24network and ESP

#1 Post by technotools » 24 Jan 2017, 23:35

Im tryng to run my sketch in which include rf24network library on my node mcu esp8266
Usually i run it in an ATmega without problem
same sketch in Node MCU
i get this error message.

Arduino:1.6.13 (Mac OS X), Scheda:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)"

/Users/Damiano/Documents/Arduino/libraries/RF24Network-master/RF24Network.cpp:30:24: fatal error: avr/sleep.h: No such file or directory
#include <avr/sleep.h>
^
compilation terminated.
exit status 1
i know the avr/sleep.h is not a ESP library but i don't have this library in my sketch.
with <include RF24.h> only it compile.

any advice ?thank you

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 16 guests