Page 1 of 1

what wrong with VS code errors?

Posted: Tue Jan 03, 2023 4:38 am
by lladam
Hi everyone.
new to VS code platformID and compiling a simple Blink code, got lot of errors, what is it?
such as: 'pinMode' was not declared in this scope。。。。
Thanks
Adam

Re: what wrong with VS code errors?

Posted: Tue Jan 03, 2023 11:23 am
by bidrohini
Have you meticulously installed all the extensions as shown here?
https://randomnerdtutorials.com/vs-code ... 6-arduino/

Re: what wrong with VS code errors?

Posted: Tue Jan 03, 2023 3:40 pm
by lladam
Thank you.
I installed "PlatformIO IDE" followed that link, do you mean all others IDE ?

Re: what wrong with VS code errors?

Posted: Wed Jan 04, 2023 6:50 am
by bidrohini
I wanted to know if you had installed PlatformIO and ESP32/ESP8266 Libraries on PlatformIO IDE. Looks like you have done everything. The error that you have mentioned in your question usually occurs when a library is missing.

Re: what wrong with VS code errors?

Posted: Fri Jan 13, 2023 5:32 pm
by lladam
Thank you.
I did install Vscode+all extensions of ESP related. I'll dig more of ..