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 couldn’t talk to the development board. The error message was:
, looking for upload port…
Error: Please specify upload_port
for environment or use global --upload-port
option.
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