Questions tagged [arduino-cli]

Arduino CLI is an all-in-one solution that provides builder, boards/library manager, uploader, discovery and many other tools needed to use any Arduino compatible board and platforms.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

Error while uploading the sketch to Arduino UNO using CLI

I have connected my Arduino UNO through USB to Raspberry pi 3B. I am using CLI for editing, compiling and uploading sketches > arduino-cli upload --fqbn arduino:avr:uno cli-test. However, after ...
user avatar
2 votes
1 answer
53 views

How to install Adafruit motorshield library in arduino-cli

I need to install this library using the arduino-cli software. I don't know what name to use for the library. Using arduino-cli lib install <library_name> I have tried Adafruit_MotorShield, ...
user avatar
5 votes
3 answers
868 views

Using Arduino as a standalone compiler

I mostly program in C/C++ so I conviniently have a GCC compiler for all my compilations. I was wondering if there is a special compiler for Arduino that can be used just like the GCC Compiler? Because ...
user avatar
5 votes
3 answers
6k views

Access serial monitor on linux cli? Using arduino-cli?

I have an arduino uno connected via USB to a raspberry pi, the raspi is accessible via ssh only. Just started a bit with arduino-cli ; I upload a sketch which reads my analog pins. How can I access ...
user avatar
2 votes
1 answer
141 views

Servo doesn't move if I detach it AFER the write?

So this is a bit weird, and I don't understand anything. Basically, I'm just playing with my servo. I wrote a small program, which can be found at this link: https://pastebin.pl/view/8e9c9573 (Note: ...
user avatar
  • 23
1 vote
3 answers
2k views

Function declared in another file not recognized (undefined reference to)

I am making a multi-file arduino project, but the compiler can't recognize a function. I am using the arduino-cli version 0.10.0 This is the error I received undefined reference to pin_init() collect2....
user avatar