dlhethern:
Hi All,Bought an Arduino AT Mega2560 and am using visual studio code with PlatformIO. I set up a simple program to turn on LED lights. When I went to upload code it couldnt talk to the development board. The error message was
, looking for upload port...
Error: Please specifyupload_portfor environment or use global--upload-portoption.
For some development platforms it can be a USB flash drive (i.e. /media//)then i spent approximately 2 solid days trying to trouble shoot it. Didnt have any luck. I tried modifying the platformio.ini file to specify upload port.
I have a Lenovo Ideapad with 2 USB ports.
Thanks
I suspect that you might be better of on a platformio forum; possibly https://community.platformio.org/