A command line tool for compiling Arduino sketches
This tool is able to parse Arduino Hardware specifications, properly run gcc and produce compiled sketches.
An Arduino sketch differs from a standard C program in that it misses a main (provided by the Arduino core), function prototypes are not mandatory, and libraries inclusion is automagic (you just have to #include them). This tool generates function prototypes and gathers library paths, providing gcc with all the needed -I params.
BassKriangkrai:
2. Should I use any program to run file in arduino-builder ?
I don't understand what you mean by that. Please explain.
Honestly, from these questions I don't think you're quite up to creating your own web editor. Why not just use Arduino Cloud or the standard Arduino IDE?
Honestly, from these questions I don't think you're quite up to creating your own web editor. Why not just use Arduino Cloud or the standard Arduino IDE?
Now, I have been trying to make the website for programming and upload it to the Arduino board.
That will be use for kids, the stater users and who never have programming skill.
Yes, use the website that Arduino spent years and tens of thousands of dollars building, the website that has a team of developers constantly maintaining and improving it, the website that has a section of the Arduino forum dedicated to it with answers to any question asked given in a matter of hours. Why reinvent the wheel?
pert:
Yes, use the website that Arduino spent years and tens of thousands of dollars building, the website that has a team of developers constantly maintaining and improving it, the website that has a section of the Arduino forum dedicated to it with answers to any question asked given in a matter of hours. Why reinvent the wheel?
Thanks for the answer.
I have seen the Arduino web editor and I had the idea about the programming method with drag and drop method.
But the drag and drop programming that I have been developping will generate the source code that difference from
the normal Arduino code. So, we need the API that be used for bring my code to compile and upload on the Arduino web editor to Arduino board.
Can you tell me how I have to do. Thanks for the answer and apologize for the unclear questions.
OK, now it makes more sense. The thread I linked in reply #1 from the Arduino Developers mailing list is about just what you're trying to do. When you open that link only one of the messages on the thread is open so you need to click on the others to read the whole thread. The person who responded, Massimo Banzi, is the founder and CEO of Arduino so it's a very official answer but unfortunately didn't seem to provide enough information for the person who asked the question and then the thread went dead. Massimo Banzi recommended looking at the arduino-create-agent source code and there is a bit of documentation in that repository:
BassKriangkrai:
the drag and drop programming that I have been developping will generate the source code that difference from
the normal Arduino code.