PID Control and Arduino PID Library
in
Integration and Hardware
•
2 years ago
Hi,
Trying to integrate processing with the Arduino PID library,
http://www.arduino.cc/playground/Code/PIDLibrary
We don't actually have an Arduino in our code, but we're just trying to integrate the library into processing.
Steps Followed:
- downloaded the PID Library latest version 1.0.1
- added the .h file into processing --> Sketch --> AddFile
- tried to run the basic example: had issues with the line: "#include <PID_v1.h>"
- changed that line to include PID_v1
- got error message with the import and with the PID myPID() function call
If anybody knows how to integrate this (a C/C++ library) with processing, please help! Or if someone knows an easier or another library for PID Control Loop, that works too.
Thanks in advanced
1