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.
Dependencies: mbed DRV88255 TextLCD Ping mbed-rtos
Diff: MockSensorController.cpp
- Revision:
- 12:c51f3aba84fe
- Child:
- 13:1323e2c0b697
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/MockSensorController.cpp Sat Jun 11 10:14:40 2016 +0000
@@ -0,0 +1,13 @@
+#include "MockSensorController.h"
+
+void MockSensorController::update() {
+
+}
+
+std::string MockSensorController::get_name() {
+ return "MockSensorController";
+}
+
+float MockSensorController::getValue() {
+ return (*this->func)(this->i++);
+}
\ No newline at end of file