Good evening, everyone! Please tell me how to adapt the library under esp8266 ???
On the Arduino Nano everything works well, but esp8266 Arduino Ide, gives a compile error!
The library is installed correctly!
On the Arduino Nano everything works well
On esp8266 an error compiling!
In file included from C:\Users\Андрей\Documents\Arduino\libraries\arduino-LEDFader-master\Curve.cpp:8:0:
C:\Users\Андрей\Documents\Arduino\libraries\arduino-LEDFader-master\Curve.h:11:26: fatal error: avr/pgmspace.h: No such file or directory
#include <avr/pgmspace.h>
^
compilation terminated.
exit status 1
Ошибка компиляции для платы NodeMCU 1.0 (ESP-12E Module).
This is Atmel’s proprietary memory management function.
Search the wider internet for a library that does the same thing as the Atmel library on an ESP.
Well LED.h is an older library but it works (once one installs the updated version)… however it appears to be a blocking function (in my tests), thus not good for Blynk use, particularly for ESP as I understand they are picky about communication timing.
In my experience if you need to “hack” a library it doesn’t really get any better in the long run. I have no idea what that library does, but aren’t there alternatives that do work out of the box on the ESP?