Pages: [1]   Go Down
Author Topic: Is this possible?  (Read 433 times)
0 Members and 1 Guest are viewing this topic.
UK
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone,
I'm quite new to arduino so I was wondering whether it is possible to save code as a text file to an sd card, and then use a sketch uploaded to the board to read the file and then execute the code.

Thanks in advance.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 610
Posts: 49077
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Without using a compiler and linker? No.
Logged

Global Moderator
Netherlands
Online Online
Shannon Member
*****
Karma: 216
Posts: 13666
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

you can write an interpreter for the code that reads a command from SD and then executes it. Then it goes to the next line.
Not trivial to implement.

have a look at bitlash - http://bitlash.net/wiki/start - to get started


Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Jump to: