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
MockSensorController.cpp
00001 #include "MockSensorController.h" 00002 00003 void MockSensorController::update() { 00004 this->i++; 00005 } 00006 00007 std::string MockSensorController::getName() { 00008 return "MockSensorController"; 00009 } 00010 00011 float MockSensorController::getValue() { 00012 this->sum_t += t.read_ms(); 00013 t.reset(); 00014 return (*this->func)(i, this->sum_t); 00015 } 00016 00017 void MockSensorController::setLed(bool value){ 00018 } 00019
Generated on Tue Jul 12 2022 18:59:29 by
1.7.2