Open kghodstinat opened 10 months ago
Hi @kghodstinat!
As stated in the code
// The max amount is defined by PWMRANGE in Arduino.h
the definition should be in Arduino.h
. Maybe you need to include this file yourself, as Arduino may have changed the header files which are included automatically.
Hope that helps.
Cheers, Reini
@kghodstinat According to this commit, PWMRANGE is no longer defined for ESP* Arduino devices. I'll change it, when I have the time.
@Reinbert I gave it the value of 1023, and it was working fine.
I get this Error when I upload the code to ESP8266: Compilation error: 'PWMRANGE' was not declared in this scope
is the defined in .h files, or should we define it?