M
M
Maxim Lomachenko2017-04-23 17:22:42
Arduino
Maxim Lomachenko, 2017-04-23 17:22:42

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

3 answer(s)
T
TyzhSysAdmin, 2017-04-23
@POS_troi

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;)

K
kalapanga, 2017-04-23
@kalapanga

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.

V
vanyamba-electronics, 2017-05-01
@vanyamba-electronics

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 question

Ask a Question

731 491 924 answers to any question