Hey guys, So, I'm a complete idiot when it comes to more than basic Arduino programming, but trying to dive in deeper. For a particular application I have in mind, I want to give end users the ability to easily edit a number of variables, so that they can define what serial strings are sent when a given button is pressed.
Can anybody offer guidance on how to create a standalone editor/loader that would let them either edit these strings directly in said program, or read them in from a text file the user edited, and then send these to the Arduino in some non-volatile format?
I can see two possible approaches, and am fine with either, I just don't know how to implement either:
1) The editor edits the actual strings in the sketch, and then reloads the entire sketch to the the Arduino, so it's actually modifying the sketch. I imagine this would somehow use the command line loader, but I'm definitely in over my head sorting that out.
2) The editor communicates via serial with the Arduino, and the sketch on the Arduino receives just these strings from the editor,and stores them in EEPROM. To do this, the Arduino would have to sense whether or not it was connected via USB, I think, since otherwise I'm using the serial out to output MIDI.
In either case, I'm also trying to sort out the easiest way to install the appropriate drivers on the user's computer; do I need to have them install the whole IDE package, and then just use this editor to "program" the Arduino, or can I make a streamlined installer that would just install my editor and the necessary drivers. I want to make it as idiot proof as possible, since the end users will know even less about Arduino than I do!
I'd love something that is both Win and Mac friendly, but if I have to pick one, I'd go with Win, since that can run in Fusion or Boot Camp on Macs. Much as it pains me, being a Mac user myself :-1
Thanks in advance for any help, hand-holding, etc you can provide!