Skip to content

A PID(proportional integral derivative) library to help create PID code reliably.

License

Notifications You must be signed in to change notification settings

Renegade-Gaming-Collective/nolol-PID-Macros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nolol-PID-Macros

A PID(proportional integral derivative) library to help create PID code reliably.

Example

Control a Generator with a PID

Library file needed

pid_macros.nolol

How to implement this PID library

First include pid_macros.nolol in your nolol file.

include "pid_macros"

Then use the PidDefines(SetPoint,Kp,Ki,Kd) macro to setup your inital variables and tunings.

Then use the CalcPID(:Input,:Output) macro in a loop to run the PID.

You can define and run more than one PID in the same yolol chip. Just note that it will run slower as it requires more lines to run more PID's.

About

A PID(proportional integral derivative) library to help create PID code reliably.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published