Join the Ben Heck team every week for amazing hacks! Watch them build and mod community-inspired projects using electronics!
|Super Glue Gun|
|See All Episodes|
Community Feedback comes from ryanthornburg !
Congratulations you win a Free Ben Heck T-Shirt!
Watch the full episode: sudo Sergeant 04: Ditch the Arduino IDE for the Linux Terminal
ryanthornburg wants to know if it's possible to run the programming without the GUI, using command line. The program that Felix used to do the programming was called Kdevelop, part of the KDE suite, it’s a GUI type application, however, it’s a plain text editor so all the code is plain text. So, there are text editors that run in the terminal such as vi, vim, emacs, and nano. You can use one of those and then once you’re done editing the code, just compile it from the terminal.
Karen wants to know if she can add code onto her Arduino by taking her .ino file outside of loading up the Arduino IDE and pushing it to the Arduino. She wants to know if there’s a way to take the .ino file and push it to the Arduino through Terminal. The way Felix did it in the episode, is he wrote a script, which you can write in a plain text editor within the terminal, and then execute the script. Or you could take the main line, the one line that does all the work in that script, and take that line out of the script and type it directly into the terminal. It’ll then compile the .ino file, link it, and upload the program to the Arduino.