Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [command-line]

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.

0
votes
1answer
21 views

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); ...
-1
votes
1answer
43 views

Can the function be written without “;” in the end? [closed]

I have seen the following code on the Internet: #include <SoftwareSerial.h> SoftwareSerial mySerial(8,9); void setup() { mySerial.begin(9600); Serial.begin(9600); delay(100); } ...
0
votes
1answer
88 views

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 ...
0
votes
1answer
493 views

How to compile Arduino ESP8266/32 on CI/CD (CLI shell cmd) platform?

Like make for not ESP Arduino target, is there a CLI command like esptool.py to upload in the hardware ? I've seen makeEspArduino but seems to be not trivial ? What about espressif ESP32 component ? ...
0
votes
1answer
2k views

SSD1306 / U8glib display fonts and commands

I cannot seem to find any reference for the SSD 1306 or U8glib display font library or any command reference, like all the options for display() etc. For my fonts I been going into the utility folder ...
0
votes
1answer
303 views

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 ...
0
votes
1answer
155 views

How do I see the command line equivalent of clicking Verify?

I am using the ESP8266 board manager. I want to see how Arduino IDE compiles my code once I click Verify. Why do I want to do this? I am trying to integrate a C library for which there is now ...
1
vote
2answers
365 views

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 ...
1
vote
1answer
228 views

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 ...
0
votes
1answer
79 views

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 <util/delay.h&...
1
vote
1answer
171 views

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 ...
0
votes
1answer
69 views

Is there any way to prevent Arduino CLI from closing each time?

I prefer writing code in Vim, so I'd like to get a workflow going with the Arduino CLI. I used to use ino, but I didn't like the restructuring of the project, which meant anyone who downloaded the ...
1
vote
1answer
3k views

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....
5
votes
2answers
2k views

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-...
0
votes
1answer
308 views

Use command line to upload hex code to teensy.ex

I need a command line implementation for uploading code to Teensy-LC through Windows 8.1 operating system I know Paul has not released support for command line for Teensy-LC yet but i would like to ...
2
votes
1answer
162 views

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 ...
3
votes
2answers
94 views

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. ...