We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 373804a commit b635d68Copy full SHA for b635d68
modules/PID.js
@@ -43,4 +43,4 @@ PID.prototype.step = function(err) {
43
return this.out;
44
};
45
46
-
+exports = PID;
modules/PID.md
@@ -25,6 +25,7 @@ response you'll want to call `pid.step` at a set time interval.
25
For example to modulate temperature for a heater:
26
27
```JS
28
+const PID = require("PID");
29
var pid = new PID({
30
Pg : 1, // proportional gain
31
Ig : 1, // integral gain
0 commit comments