Skip to main content

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.

Filter by
Sorted by
Tagged with
3 votes
1 answer
215 views

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 ...
DavidM31's user avatar
-1 votes
1 answer
133 views

What is the difference between :i and :a after my hex file path in avrdude command. avrdude -C C:\Users\santi\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v ...
santiago's user avatar
0 votes
1 answer
928 views

#include <Adafruit_Fingerprint.h> #include <SoftwareSerial.h> #include <LiquidCrystal.h> uint8_t id; int getFingerprintIDez(); //pin #16 is IN from sensor (GREEN wire) //pin #15 is ...
SASHA SYAZANA 's user avatar
0 votes
1 answer
392 views

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 ...
FoosMaster's user avatar
1 vote
0 answers
332 views

My purpose was to send SMS using GSM SIM800L coreboard and Arduino UNO. Here is the code #include <SoftwareSerial.h> //Create a software serial object to communicate with SIM800L ...
Udara Sampath's user avatar
0 votes
1 answer
65 views

I'm trying to program an Adafruit Trinket using avr-gcc et. al. with the Makefile from the Bare-Arduino-Project on macOS Catalina. I can build projects for standard boards like the Uno, but not for ...
dlu's user avatar
  • 1,671
0 votes
1 answer
966 views

I've compiled an Arduino program via a Makefile and have the resulting hex file. From the Mac command line, how do I upload this hex file to my STM32 Cortex M3 board? For an ATMEL processor I would ...
Mark Harrison's user avatar
1 vote
1 answer
4k views

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); }...
CluelessNoob's user avatar
-1 votes
1 answer
85 views

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); } ...
Асмир Абдимажитов's user avatar
2 votes
1 answer
3k views

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 ...
ang's user avatar
  • 151
0 votes
1 answer
2k views

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 ? ...
E.Racineux's user avatar
0 votes
1 answer
12k views

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 ...
Jim's user avatar
  • 31
1 vote
1 answer
1k views

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 ...
Nownuri's user avatar
  • 115
0 votes
1 answer
231 views

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 ...
Kit's user avatar
  • 101
1 vote
2 answers
632 views

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 ...
dnnagy's user avatar
  • 111
1 vote
1 answer
749 views

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 ...
Noel's user avatar
  • 163
1 vote
1 answer
225 views

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&...
user840250's user avatar
1 vote
2 answers
1k views

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 ...
Ulysse Darmet's user avatar
0 votes
1 answer
160 views

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 ...
squarefrog's user avatar
1 vote
1 answer
5k views

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....
Robson Fagundes's user avatar
6 votes
2 answers
2k views

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-...
Bob's user avatar
  • 185
0 votes
1 answer
609 views

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 ...
newbie2015's user avatar
2 votes
1 answer
258 views

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 ...
Rodrigo Da Silva Guerra's user avatar
3 votes
2 answers
150 views

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. ...
Cerin's user avatar
  • 1,698