Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 1:c48bef0d5d3c
- Parent:
- 0:85367d3ee779
- Child:
- 2:fd1023193cc4
diff -r 85367d3ee779 -r c48bef0d5d3c main.cpp
--- a/main.cpp Tue Aug 03 09:09:03 2010 +0000
+++ b/main.cpp Sat Nov 27 11:32:13 2010 +0000
@@ -23,7 +23,7 @@
//Update the process variable.
controller.setProcessValue(pv.read());
//Set the new output.
- co = controller.getRealOutput();
+ co = controller.compute();
//Wait for another loop calculation.
wait(RATE);
}