Author Options:

Download code will not compile? Answered

downloaded the code for button_input_led_output.ino. But every time I try to compile it, I get and error "Error compiling for board Adafruit HUZZAH ESP8266."

All the other code compiles fine. The board runs. Is there some place I can copy the working code?


Is there more to that error message, and if so could you let us know what it says? The code compiles fine for me.

Thanks for getting back. Here is the last part of the error file. It's three pages total, but it looks like most of that is the compiling. I do have all three additional libraries install, but as I understand it, even if I did not, it should still compile.

Here's the last part of the error log

note: template argument
deduction/substitution failed:

note: deduced conflicting types for
parameter 'const _Tp' ('short unsigned int' and 'int')

sendlen = min(len, 250);


exit status 1

Error compiling for board Adafruit HUZZAH ESP8266.

This report would have more information with

"Show verbose output during compilation"

option enabled in File -> Preferences.