Skip to main content
3 votes

Read values from a txt file on an SD card

These symbols were introduced in the Arduino AVR core 1.6.7, in December 2015. You can find them in Stream.h. They are probably defined in other cores too. For some reason, the Teensy cores do not ...
Edgar Bonet's user avatar
  • 45.1k
2 votes
Accepted

How to build an arduino project with multiple source files?

First of all, I recommend you write in C++ (file extension .cpp) rather than in plain C (files in .c). The reason is that the Arduino programming environment is based on C++, some of the libraries are ...
Edgar Bonet's user avatar
  • 45.1k
2 votes
Accepted

No data in text file

createWriter description says: "For the file to be made correctly, it should be flushed and must be closed with its flush() and close() methods" Source: https://processing.org/reference/...
smajli's user avatar
  • 472
1 vote
Accepted

usart sketch uploaded using makefile gives unusual behaviour

The -mmcu=atmega328p compiler flag is needed not only for the compile phase, but also for the link phase. Otherwise the linker will not know which CRT (C run time) to link with your program, and it ...
Edgar Bonet's user avatar
  • 45.1k
1 vote
Accepted

How to include a file from another (parent) directory

This is definitely on the hacky side and not a proper solution to the problem, but it works nevertheless so I'm sharing it. After making a symlink in the /usr/share/arduino/libraries directory you ...
php_nub_qq's user avatar
1 vote

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

The ancient version installed by apt lives in /usr/share/arduino/hardware/arduino/cores/arduino. If you download and unpack a recent version, it will stay wherever you left it. For example, I have an ...
Edgar Bonet's user avatar
  • 45.1k

Only top scored, non community-wiki answers of a minimum length are eligible