VS Arduino | |
Visual Micro >> Installation & Troubleshooting >> Build Error with rawliteral JS Code included in Sketch
https://www.visualmicro.com/forums/YaBB.pl?num=1606828469 Message started by Simon@Visual Micro on Dec 1st, 2020 at 1:14pm |
Title: Build Error with rawliteral JS Code included in Sketch Post by Simon@Visual Micro on Dec 1st, 2020 at 1:14pm
There is a sketch posted on GitHub at https://github.com/RuiSantosdotme/ESP32-Course/blob/master/code/WiFi_Web_Server_DHT/WiFi_Web_Server_DHT.ino
This sketch illustrates the use of an asynchronous web server using an ESP32 module. I have pasted it into the Arduino IDE and it compiles, uploads and works OK. However, using exactly the same sketch in Visual Micro/Visual Studio, the compiler reports an error: ESP32DHTAsync.ino: 30:1: error: 'setInterval' does not name a type Read temperature as Celsius (the default) ESP32DHTAsync.ino: 31:1: error: 'setInterval' does not name a type float t = dht.readTemperature() Error compiling project sources Build failed for project 'ESP32DHTAsync' https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=vsmicro_compiler_output.txt ( 743 KB | 4
Downloads )
|
Title: Re: Build Error with rawliteral JS Code included in Sketch Post by Simon@Visual Micro on Dec 1st, 2020 at 1:15pm
This is resolved in the latest release 20.09.10.17 which is available from the below board:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES |
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |