Sketch file not ready to upload

It is a long time I don't use Arduino. The last time I did everything worked OK. I am now trying to upload an old sketch clicking on the "name".ino.
The sketch text appears as a .wordpad, not in the usual Arduino way with the commands "verify", "upload" etc.
I tried also the exemple Blink.ino. Same problem.

Suggestions on what to do, please.

Thanks in advance and Merry Christmas,
Sandro

Open the IDE first, then use it to open the .ino file

It sounds like you have associated the .ino extension with Wordpad in Windows instead of the IDE

I found a way to bypass the issue but not a practical one.
Starting Arduino ide a window appears with a blank sketch: "sketch_dec24a" in the correct form, with "verify", "upload" etc. The sketch consists of only 9 program lines with void set up and void loop blanks. I erased theese and copied the sketch text from the file "Blink.ino".
Then it uploaded and run perfectly.

Of course this can't be done every time you want to upload a long sketchcode.
I would like to learn how to access directly to the file ... .ino, as it was possible before.

Thanks
Sandro

Oh, our posts crossed.
Thank you, i'll search in Windows settings.

Why not just use File/Open from the IDE menu and load the file directly ?

Changed the association of .ino to IDE. (it was to Wordpad).
Everything works. Job done.

Thank you UKHeliBob

Sandro

2 Likes

I still don't see why you don't just open the file from the IDE

Please explain

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.