Questions tagged [arduino-makefile]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
170 views

Read values from a txt file on an SD card

I'm trying to read a text file (has numeric values) from SD card. The values in the file like this 87 512 255 I need to read 87 in ch1 and 512 in ch2 and 255 in ch3. Why did I get on 'SKIP_NONE' '...
stella's user avatar
  • 31
2 votes
1 answer
2k views

How to build an arduino project with multiple source files?

I'm building an arduino program on linux, using the following Makefile: ARDUINO_DIR = /usr/share/arduino BOARD_TAG = uno ARDUINO_PORT = /dev/ttyAMA0 ARDUINO_LIBS = Wire include /usr/share/arduino/...
php_nub_qq's user avatar
0 votes
1 answer
2k views

How to include a file from another (parent) directory

This is my structure program/ src/ Makefile main.ino test.h ... lib/ i2c.h In main.ino I include test.h and in test.h I'm trying to include i2c.h but it is just not working, I ...
php_nub_qq's user avatar
0 votes
1 answer
302 views

How to install a dependency library to an Arduino compilation environment?

Following approach A from this Arduino SE answer, I managed to kick off an Arduino CLI compilation in a Docker environment. However, the project I am trying to compile has a dependency on a LCD ...
J. Doe's user avatar
  • 127
2 votes
1 answer
1k views

How to know my Arduino core version and its location on my Ubuntu laptop?

Bakground: When compiling a demo project about e-paper, I got this problem ./GxEPD/src/GxIO/GxIO_SPI/GxIO_SPI.h:39:5: error: ‘SPISettings’ does not name a type SPISettings _spi_settings; ^ ...
ar2015's user avatar
  • 173
-1 votes
1 answer
223 views

No data in text file [closed]

Data can be seen in the console but the data is not being written in the text file. The file is created but there is no data in it. Here is my code in Processing, import processing.serial.*; Serial ...
stefanie's user avatar
2 votes
0 answers
740 views

Error while creating file on sd card

I want to create a file and read it form sd card by arduino. I have used sd card module. I have used this following code. In serial monitor it says "SD card is ready to use." But it can't read or ...
habla's user avatar
  • 21
0 votes
1 answer
157 views

Including Arduino library in a Makefile for Due

I'm currently using a Makefile for the Arduino Due I've found on Github (with some modifications). It's useful to me cause it allows me to add a static library for cryptographic functions I need and I ...
Jéssica Carneiro's user avatar
0 votes
1 answer
79 views

usart sketch uploaded using makefile gives unusual behaviour

This is a simple usart program in avr c which just transmits a character. #include <avr/io.h> #include <util/delay.h> #define F_CPU 16000000UL #define BAUD 9600 #define BAUD_PRESCALLER ((...
YsK's user avatar
  • 3