.h
is wrong for a file that is supposed to be compiled, use.cpp
instead- Do not overwrite the
main()
function when using the Arduino framework, it expects you to implementvoid setup()
andvoid loop()
instead, per example
The last person that had such problems here Espressif32 compiler problem - #20 by adriano63 said that this was being caused by RAV Antivirus. Any intrusive antivirus software installed?