Since inotool is dead, I'm trying to transition over to Arduino's built-in command line tool.
It seems largely equivalent, but the one feature it seems to be missing is a serial interface. e.g. Running ino serial
would open a simple serial interface to the Arduino, providing invaluable debugging info from any Serial.print() statements.
How is this accomplished with the current Arduino command line tool?
-
You may want to just use some other command line serial solution.Chris Stratton– Chris Stratton2015年11月30日 02:31:54 +00:00Commented Nov 30, 2015 at 2:31
-
@ChrisStratton, Such as...?Cerin– Cerin2015年11月30日 03:11:44 +00:00Commented Nov 30, 2015 at 3:11
-
Well, I use an ever-evolving custom solution, so won't be of much help with that...Chris Stratton– Chris Stratton2015年11月30日 03:13:14 +00:00Commented Nov 30, 2015 at 3:13
-
What OS are you using? Putty, screen, minicom ...Gerben– Gerben2015年11月30日 13:59:33 +00:00Commented Nov 30, 2015 at 13:59
2 Answers 2
If you are using linux, as I guess, you can look at this archwiki page. Even if is a wiki relative to archlinux OS some informations explained are LinuxOS independendent.
For your needs, you can use screen command. Here is an example: remember to substitute the serial port with the one wich arduino is connected (usually /dev/ttyACM* or /dev/ttyUSB*) and to specify the right baud rate.
screen /dev/ttyACM0 9600
I ended up simply switching to ano.