C:/Users/xxx/TuyaOpen/TEST_ARDUINO/src/hello_world.cpp:1:10: fatal error: Arduino.h: No such file or directory 1 | #include "Arduino.h" | ^~~~~~ compilation ...
Unable to compile a function template after a struct definition. The code passed compilation with multiple different versions of the compilers on Compiler Explorer, but fails in Arduino IDE. $ arduino ...