I have been using the Ardunio IDE to edit code for an Arduino sketch.
I was having trouble uploading to the board, so I bought a pocket progammer in response to this question: What possible ways can I upload sketches to arduino mega chips?
Now, using this programmer I can upload .hex files via the command line.
Now I want to create a .HEX file from my existing .PDE files.
The problem is:
- The graphical IDE has a "Upload Sketch" button (which compiles and attempts to upload in one go), but there doesn't seem to be a "Create Sketch" button.
- avr-gcc can create a sketch (I believe) but doesn't recognise .PDE files.
How can I go about creating this Sketch?