Extruder/Heated bed PID control for the FRDM-K64F

Dependencies:   PID millis mbed

Files at this revision

API Documentation at this revision

Comitter:
unix_guru
Date:
Wed Jan 27 21:32:34 2016 +0000
Parent:
0:8b77aea74642
Child:
2:6e731a17523c
Commit message:
Minor updated to comply with Brett Beauregard's Arduino PID library

Changed in this revision

PID.lib Show annotated file Show diff for this revision Revisions of this file
PIDHeater.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/PID.lib	Mon Jan 25 22:38:30 2016 +0000
+++ b/PID.lib	Wed Jan 27 21:32:34 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/FRDM-K64F-Code-Share/code/PID/#117e0c36eb22
+https://developer.mbed.org/teams/FRDM-K64F-Code-Share/code/PID/#55bf0f813bb4
--- a/PIDHeater.cpp	Mon Jan 25 22:38:30 2016 +0000
+++ b/PIDHeater.cpp	Wed Jan 27 21:32:34 2016 +0000
@@ -61,7 +61,7 @@
  
 void PIDHeater::run() {
     getTemperature();
-    driver = controller.compute(currentTemp, desiredTemp);
+    driver = controller.compute();
 }