I've just started with the Arduino. The examples I have tried all worked well if I uploaded the code and then turned the laptop off. (Leaving the USB cable connected so the Arduino still gets power.)
But the code does not work right if I leave the laptop on and keep the Arduino connected to it through the USB port. The laptop keeps sending to the Arduino every now and then. That disrupts the code and the example does not work right.
What can I do to my laptop so that it does not send anything on the COM port unless I upload code?
I've just started with the Arduino. The examples I have tried all worked well if I uploaded the code and then turned the laptop off. (Leaving the USB cable connected so the Arduino still gets power.)
But the code does not work right if I leave the laptop on and keep the Arduino connected to it through the USB port. The laptop keeps sending to the Arduino every now and then. That disrupts the code and the example does not work right.
What can I do to my laptop so that it does not send anything on the COM port unless I upload code?
can you post a picture of the wires connecting & set up?
Is there any error message?