Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot-open:programming_fundamentals_rtu:libraries [2018/02/20 10:10] Agrisniken:iot-open:programming_fundamentals_rtu:libraries [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 5: Line 5:
  
  
-===== Math library =====+===== The 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: 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:
  
Line 38: Line 38:
 </code> </code>
  
-In the given example, three mathematical functions are used - cosine (//cos//), sine (//sin//) and raising to the power (//pow//). The results are printed out to the Serial monitor.+In the given example, three mathematical functions are used - cosine (//cos//), sine (//sin//) and raising to the power (//pow//). The results are printed out to the Serial monitor. In this case functions are used in the //setup// part, so that they are executed only once on initialization.
  
  
en/iot-open/programming_fundamentals_rtu/libraries.1519121426.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