8000 GitHub - llozi/Arduino-PID-Library
[go: up one dir, main page]

Skip to content

llozi/Arduino-PID-Library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a fork of Arduino PID Library - Version 1.2.1, https://github.com/br3ttb/Arduino-PID-Library

It changes all of the double calculations to float data type as single precision would be sufficient.
When used with Arm M4 based controllers double would be 64bit. On AVRs this doesn't matter as float
and double are the same there.

floats are used if the library is compiled with the macro USE_FLOAT defined, for this you may hand over
a -D USE_FLOAT to the compiler, otherwise still doubles are being used.

Changes Copyright 2022, Lukas Zimmermann, Basel, Switzerland

Original:
***************************************************************
* Arduino PID Library - Version 1.2.1
* by Brett Beauregard <br3ttb@gmail.com> brettbeauregard.com
*
* This Library is licensed under the MIT License
***************************************************************

 - For an ultra-detailed explanation of why the code is the way it is, please visit: 
   http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/

 - For function documentation see:  http://playground.arduino.cc/Code/PIDLibrary

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 100.0%
0