A command line is a string given to a command interpreter that tells it actions to take, such as running programs or copying files. The interpreter processes command lines with escapes and substitutions.
Questions tagged [command-line]
24 questions
6
votes
2 answers
Arduino command line vs. Arduino builder
I'm working on adding my Arduino to continuous integration and I came across two different possible ways of doing this, Arduino command line, and arduino-builder. Can someone explain why the arduino-builder tool exists separately from calling…
Bob
- 185
- 7
3
votes
1 answer
Arduino Uno Gravitech Rev 3.0 with avrdude CLI (Mac OS) - Is my script correct?
I am dealing with an Arduino Nano board rev 3.0 from Gravitech.
There is a program inside that I'd like to download to a HEX file. Thus I can upload it to other Arduino Nano boards.
I'm a newbie with Arduino. Therefore I've read much documentation…
DavidM31
- 31
- 5
3
votes
2 answers
Connecting via serial with Arduino comand line
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…
Cerin
- 1,688
- 2
- 28
- 45
2
votes
1 answer
Arduino: command not found
After installing the Arduino IDE on MacOS (1.8.5), I am trying to run some commands in the terminal to flash the firmware on an Uno R3.
I have successfully connected and uploaded through the GUI, but would like to use the command line for the…
ang
- 151
- 1
- 6
2
votes
1 answer
How can I make Arduino IDE use Atmel's provided toolchain? (Linux/Ubuntu)
I have an Arduino based board using ATmega168PB, but so far only Atmel's provided toolchain supports this microcontroller. I can download the toolchain from Atmel's website, but I am not sure how to make the Arduino environment use it.
1
vote
0 answers
Program is executing but AT commands not showing in serial monitor
My purpose was to send SMS using GSM SIM800L coreboard and Arduino UNO. Here is the code
#include
//Create a software serial object to communicate with SIM800L
SoftwareSerial mySerial(3, 2); //SIM800L Tx & Rx is connected…
Udara Sampath
- 21
- 3
1
vote
1 answer
How to send characters to Arduino serial using Linux command line without tail -f?
I want to send characters to Arduino serial port which makes the Arduino turn on/off an LED. Here is the code:
int led_main=8;
void setup()
{
pinMode(led_main, OUTPUT);
Serial.begin(9600);
}
void loop()
{
char chr;
if…
CluelessNoob
- 113
- 1
- 4
1
vote
1 answer
arduino --verify / --upload not working (command line)
I installed Arduino IDE version 2.1 on Ubuntu via apt-get. Then I typed the following command in terminal to see if the Arduino IDE compiles my sketch.
arduino --verify xx.ino
However, this command launches the GUI IDE. Is the CLI not supported…
Nownuri
- 115
- 6
1
vote
2 answers
Compiling sketch vi command line
Since I don't like the text editor of the Arduino IDE, I decided to write a python script that I can invoke from my text editor to compile and upload my source. I program the popular esp8266 chip. So far I found that there is a python builder here.…
dnnagy
- 111
- 2
1
vote
1 answer
Capturing avrdude command in IDE
With verbose upload selected the IDE provides the executed avrdude command at the top of the log.
I am interested in copy pasting that avrdude command. However at the end of the upload the command is not available anymore. The IDE only shows some…
Noel
- 163
- 11
1
vote
1 answer
avr-gcc -D is ignored
Im trying to use XCode to compile avr program with arduino libs but seems like something wrong with my Makefile because it throws me warnings like
# warning "F_CPU not defined for "
but I use -D on CC and CXX which should define…
user840250
- 113
- 3
1
vote
2 answers
How to change Arduino Nano MODEL_ID
I'm working on a project using a set of different Arduino Nano connected to a Raspberry Pi through USB.
Now my question is: "how can I, from the Pi's point of view, differentiate all of those Arduino and associate them with their respective tty?"
I…
Ulysse Darmet
- 13
- 3
1
vote
1 answer
GPRS SIM900 and GPS NEO-6M don't work together
I'm trying to get GPS coordinates and send them to my API through the GPRS SIM900 and GPS NEO-6M shields.
In setup(), I first start the GPRS shield and call the function that connects to the internet. Then in loop(), I start to capture GPS…
Robson Fagundes
- 35
- 1
- 3
- 11
0
votes
1 answer
Why am I getting a "SendCommand was not declared" error?
#include
#include
#include
uint8_t id;
int getFingerprintIDez();
//pin #16 is IN from sensor (GREEN wire)
//pin #15 is OUT from arduino (WHITE wire)
int Contrast = 100;
SoftwareSerial…
SASHA SYAZANA
- 9
- 2
0
votes
1 answer
Windows upload from command line gives Access Denied
saw somewhere that in order to upload a hex file to an arduino you can look at the Arduino IDE - see the command it runs, then replace the hex file with your file.
this is the command I see in the output window:
C:\Program…
FoosMaster
- 1
- 2