I followed the troubleshooting page but it hasn't resolved it for me. From what I see it's looking for COM1, in the list under tools>ports, its listed as COM3
Can anyone point me to an answer please, for once I sit down and decide to learn something new and come unstuck at the first hurdle.
Sorry I probably didn't make that clear. in Tools>Port> it shows connection as COM3. But the error in the program is showing that it can't find COM1, there is no COM1 listed under tools, just the COM3.
If its looking for COM1 and its not in the list, how do I add it?
Wow, that's very strange. I haven't seen that one before. Arduino IDE 1.6.10 just came out and does have a couple of bugs. You might try installing Arduino IDE 1.6.9 from this page: https://www.arduino.cc/en/Main/OldSoftwareReleases. Maybe that would solve your issue.
I've given it another go, went into device manager and physically changed com3 to com1 as default for the Arduino. COM1 now shows under tools>ports> I'll try selecting it and see what happens before I download the earlier version of the IDE.
Well I've tried all suggestion so far but still end up wit the error previously mentioned. I'm going to try a sketch that is in the arduino list rather than the one that goes with my sensors to see if that works.
But I'm ready to give it a rest today, so hopefully I might get a few more suggestions to try later on.
I still don't know what used it, but the simple expedient of pressing the reset button on the board was the cure.
After pressing the reset, my program loaded no problem, so another question - is it necessary to use the reset button before any new program is uploaded, or should it just overwrite any existing program on the arduino board?
The Arduino does need to reset at the start of the upload process but this should happen automatically. Very old Arduino boards didn't have the auto-reset feature and so they did need to be manually reset but that was a while back. I have ones older than 3 years that have the auto-reset feature.