Pages: [1]   Go Down
Author Topic: Compiling Sketch Question  (Read 526 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 9
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How would I go about (if it's possible) creating a compiled sketch to upload to the Arduino?

So as to make it as easy as possible for a user to update their Arduino.
Logged

London
Offline Offline
Tesla Member
***
Karma: 10
Posts: 6255
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Freman, could you say a little more about what problem you are trying to solve.
« Last Edit: December 18, 2007, 03:51:30 pm by mem » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 9
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'd like to compile the sketch, email it to someone else and have them 'update' their arduino with the received file.
Logged

London
Offline Offline
Tesla Member
***
Karma: 10
Posts: 6255
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The file you need to email is the Intel Hex file founding the sketches applet subdirectory,  it has the same name as the sketch but with the extension .hex

The arduino environment uses avrdude to upload this file to the board. I have little direct experience with it but google should provide enough information to help you  understand what needs to happen to get the received file loaded.

good luck
« Last Edit: December 18, 2007, 10:19:59 pm by mem » Logged

USA
Offline Offline
Newbie
*
Karma: 0
Posts: 11
And you wondered where all the payphones went...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The recipient could upload the .hex file using avrdude from the command line.
Logged

levitis_leviathan

0
Offline Offline
Faraday Member
**
Karma: 8
Posts: 2526
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The arduino IDE compiles a sketch as part of the "upload" process.

There's really no need to send anything other than a sketch, unless you're trying to hide your code.

-j

Logged

Pages: [1]   Go Up
Jump to: