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
5
votes
3answers
634 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 ...
5
votes
3answers
4k 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 ...
2
votes
1answer
69 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: ...
1
vote
3answers
1k 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....