I would like to try out the simple web server for D1 mini esp8266 (unfortunately, also other boards didn’t work…).
If I compile the code,
WebSocket-Esp8266-ESP32-Tutorial/03-Secure WebSocket with autentication on DHT temp hum/esp8266_TempHumidityWebServerWithWebSocket/esp8266_TempHumidityWebServerWithWebSocket.ino
In file included from /Users/user2/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/static_array.hpp:11:0,
from /Users/user2/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Numbers/FloatTraits.hpp:14,
from /Users/user2/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Numbers/convertNumber.hpp:18,
from /Users/user2/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantData.hpp:9,
from /Users/user2/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/SlotFunctions.hpp:8,
from /Users/user2/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ArrayIterator.hpp:7,
from /Users/user2/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ArrayRef.hpp:8,
from /Users/user2/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:17,
from /Users/user2/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.h:9,
from /Users/user2/Documents/Arduino/ESP8266_WebS_Server03/ESP8266_WebS_Server03.ino:32:
/Users/user2/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/pgmspace_generic.hpp: In instantiation of ‘typename ArduinoJson6172_91::enable_if<ArduinoJson6172_91::is_pointer::value, T>::type ArduinoJson6172_91::pgm_read(const void*) [with T = const __FlashStringHelper*; typename ArduinoJson6172_91::enable_if<ArduinoJson6172_91::is_pointer::value, T>::type = const __FlashStringHelper*]’:
/Users/user2/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Deserialization/DeserializationError.hpp:103:12: required from here
/Users/user2/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/pgmspace_generic.hpp:14:45: error: ‘const void*’ is not a pointer-to-object type
return reinterpret_cast(pgm_read_ptr(p));
^
exit status 1
Fehler beim Kompilieren für das Board LOLIN(WEMOS) D1 mini Lite.
OK, thanks, I had another ArduinoJSON version and DHT12 instead of DHT12_sensor_library 0.9.0. I had to uninstall dht12 and replace with your library. BTW, also DHT12_sensor_library 1.0.1 seems to compile.
Maintaining a repository (or site or forum) is a lot like tending to a garden - it requires constant care and attention to keep it thriving. If you're a skilled gardener (or coder!) and want to help keep our repository blooming, we'd love to have you on board! We're also looking for talented writers and forum moderators to help us grow our community. Interested in joining our team? Don't hesitate to reach out and let us know how you can contribute!
Are you a fan of electronics or programming? Share your knowledge with others, write a simple tutorial or how to make a great project Contact me: share_your_ideas@mischianti.org
The content displayed on this website is protected under a CC BY-NC-ND license. Visitors are prohibited from using, redistributing, or altering any content from this website for commercial purposes, including generating revenue through advertising. Any unauthorized use is a violation of the license terms and legal action may be taken against individuals or entities found to be in violation.
You must also provide the link to the source.