i have been messing around with arduino for some time now, but currently i have encountered a problem which i dont know how to solve.
when im prototyping and I want the arduino and sensors, motors and servos to turn of i usually just unplug the usb from my computer. This has worked propperly for quite some time now, however this week when i plug it back in the arduino IDE doesn’t remove the old connection and also shows the new connection. with multiple connections, the IDE doesn’t want to upload with the error code:
avrdude: ser_open(): can’t open device “\.\COM3”: Access is denied.
if i restart Arduino IDE the problem still occurs, it can only be resolved by completly rebooting my laptop.
i tried reinstalling Arduino IDE and using the latest version 1.8.9 but this did not help.
The summing up of the serial port com connections can be seen in this print screen →
Does anybody have a clue on how to resolve this?