Answer the question
In order to leave comments, you need to log in
How to understand the Arduino libraries?
Hello!
I'm new to programming all sorts of pieces of iron, I recently discovered Arduino, with a lot of all sorts of modules and shields for it.
And I ran into such a problem, which library to choose from the set and how to work with it.
For example, I wanted to try a gyroscope with an MPU-6050 accelerometer, started googling, found many different libraries for the module.
What is the principle to choose the necessary libraries and how to use them, to read the functions in the name.h file?
Help me to understand...
Answer the question
In order to leave comments, you need to log in
Read the documentation, choose the one that will meet your requirements.
And understanding will come with experience and you should not listen to any bores who will prove that one felt-tip pen is tastier than another;)
To begin with, choose by typing, it works well. Further, in real projects, additional requirements will appear in terms of capabilities, occupied memory, speed of work, etc. And then maybe you will refuse other people's libraries in general - you will write your own.
The Arduino has quite a bit of memory. So a large universal library simply cannot be stuffed into it. Or shove it, but there will be no memory left for the project itself.
Therefore, if there is a choice, then you need to look and study what suits and what does not.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question