I can not reproduce that error. What board are you compiling for? I chose NodeMCU 1.0
Do you have other files in your sketch folder? It looks like multiple things are being included which leads to the multiple def errors.
I can not reproduce that error. What board are you compiling for? I chose NodeMCU 1.0
Do you have other files in your sketch folder? It looks like multiple things are being included which leads to the multiple def errors.