amiravni / MSGEQ7_ESP8266_WS2812

An equalizer controlled by The ESP8266 with the NodeMCU firmware or via the Arduino IDE, where the equalizer colors are controlled via WiFi
http://www.whatimade.today/tag/msgeq7/
81 stars 18 forks source link

Used latest WebSocket library and got error compiling. #3

Open Fireflaker opened 7 years ago

Fireflaker commented 7 years ago

This is what it says...

C:\Users\win7\Documents\Arduino\libraries\WebSockets\src\WebSocketsClient.cpp: In member function 'void WebSocketsClient::begin(const char, uint16_t, const char, const char*)':

C:\Users\win7\Documents\Arduino\libraries\WebSockets\src\WebSocketsClient.cpp:65:16: error: 'RANDOM_REG32' was not declared in this scope

 randomSeed(RANDOM_REG32);
amiravni commented 7 years ago

Hi Once again - This is my code without the websocket library. This is where you download the library from (link from my blog post) https://github.com/Links2004/arduinoWebSockets

If it is still gives the same error after merging this library with the rest of the project - post on their Github page

Fireflaker commented 7 years ago

Thank you very much. Problem solved. I did not install the right version for ESP8266 core development compiler.