I use ESP32. I create a new project, I throw on the led form. I put PORT 2, LUM 1. I want to fill in and get this error.
Compilation failed
Command C:\Program Files\XOD IDE\resources\arduino-cli.exe --config-file=C:\Users\alex-\AppData\Local\Temp\arduino-clir7zUVK\.cli-config.yml compile --fqbn esp32:esp32:esp32:UploadSpeed=115200 --verbose C:\Users\alex-\AppData\Local\Temp\xod_temp_sketchbooktbFj1k\xod_1553377661415_sketch failed with code 1
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.
To add ESP 32 I used this instruction, but I always get an error. Who can help?
same error. Moreover, if I write the code in the Arduino IDE and put port 2, then everything works, it flashes.
C:\Users\alex-\AppData\Local\Temp\xod_temp_sketchbook79MsnO\xod_1553403506252_sketch\xod_1553403506252_sketch.ino: In function ‘void xod::xod__gpio__pwm_write::evaluate(xod::xod__gpio__pwm_write::Context)’:
C:\Users\alex-\AppData\Local\Temp\xod_temp_sketchbook79MsnO\xod_1553403506252_sketch\xod_1553403506252_sketch.ino:1226:5: error: ‘::analogWrite’ has not been declared
::analogWrite(port, val);
^
If it can work in IDE port2, but not in XOD, it is something that also happens in ESP8266. There is also a problem already reported load for ESP32, I do not know if this is the case, I do not have a board for testing.