This is an old revision of the document!


Libraries

Math library

The Math library extends the functionality of code in terms of mathematics and is called math.h. This header file declares basic mathematics constants and functions. Before starting using it, it must be included in the code at the very beginning in the following way:

#include <math.h>

The Math library includes multiple functions for manipulating floating point numbers, like cos, sin, tan, exp, log, log10, pow, square, etc. The full documentation of the library and functions it includes, can be found in the

The following example shows, how the

Random library

Servo library Tone library Display libraries

The use of other libraries, like Servo.h, LiquidCrystal.h, Wire.h, SPI.h, SmartEink.h, Stepper.h is given in the examples of the sections “Sensors and sensing” and “Drivers and driving”.

en/iot-open/programming_fundamentals_rtu/libraries.1519042753.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0