If you feel tired about the Arduino IDE and you are fan of terminal. I recommend you to try ‘ino’ as well as micro as editor.
Ino
Ino is a Python tool to build and upload code to Arduino boards. It is also very lightweight and fully open-source.
- Install Ino :
pip2 install ino
- Create and initialize the project:
mkdir project
cd project
ino init
- To configure the settings about the board, you can use the following template: name this file
ino.ini
and add it into the root folder of your project.
[build]
board-model = mega2560
[upload]
board-model = mega2560
serial-port = /dev/ttyACM1
[serial]
serial-port = /dev/ttyACM1
- Code your script by modifying the file
src/sketch.ino
- Build and upload to the Arduino (using the settings of the file ino.ini) run:
ìno build && ino upload
Now each time you want to upload the project to the board you just need to run ino buid && ino upload
. Ino will use the configuration of ino.ini to build your app.
Micro
This is not directly linked to Arduino but this is by far my preferred editor for terminal. You can use the shortcuts of nano but you have the customization and the code syntax of vim. The default colorscheme of Micro is gruvbox.
If you want more information about this editor, you can checkout: https://micro-editor.github.io/
Conclusion
I personally love them because I hate the default IDE and I am a big fan of developing app fully in terminal.
What do you think?
Thanks! That is super helpful.
Quick question, is it possible to include libraries?