Im developing a project that will hypothetically be available to the general public. What I was wondering is is there a way for the arduino ide to pull variables off of a text document in the same manner that a C++ program can? What I am thinking is that the user would have to connect their device up via usb one time and instead of filling out arduino code for their specific variables
(ip addresses), I could make a simple visual basic GUI that asks them some simple questions and saves the file to a .txt or whatever, and then make a program that automatically runs the compiler in the arduino IDE and uploads their code with the variables they entered in the text document?
I don't think you can get the Arduino IDE to read a text file - apart from regular .ino files.
But you could get your Visual Basic program to
( A ) create a valid .ino file from the GUI input
OR
( B ) make the VB program be an Arduino programmer - the Arduino IDE is just a front end for the compiler and linker and uploader.
...R
Thats a good point visual basic could just produce a .ini... why didnt I think of that? Thanks for the tip.