10 years, 9 months ago.

API or library?

As a newcomer to MBED I may be asking a rather stupid question. I was about to download the code from the cookbook for a ADXL345 accelerometer (I2C interface), but what is the difference between the API and the library? They appear to be the same thing.

1 Answer

10 years, 9 months ago.

With API you mean the API tab? Thats the semi-automatically generated documentation of the library. It doesn't matter from where you import the library, you get the same code.

Accepted Answer