stray \ 342 in program ?

gresleyman:
I have have checked in the tools menu, and it states i have connected a Arduino UNO, it is on Com port 8 and the programmer is set to ArduinoISP.

No it does not :wink: It states YOU selected that, no matter if that's correct or not :smiley: And when using the USB on a Uno/Nano and the normal upload button, the programmer selection doesn't matter.

Question, if there is no Arduino connected, what does tools->Com-port show? And when you connect an Arduino? (Hint, there should be one COM-port extra when the Arduino is connected.