A compilation of some hardware sensors and their shared programming interfaces.
SleepableSensor.cpp
- Committer:
- mgottscho
- Date:
- 2014-03-16
- Revision:
- 0:8d34cc2ff388
File content as of revision 0:8d34cc2ff388:
/* SleepableSensor.cpp * Tested with mbed board: FRDM-KL46Z * Author: Mark Gottscho * mgottscho@ucla.edu */ #include "SleepableSensor.h" SleepableSensor::SleepableSensor() : __sleeping(false) { } SleepableSensor::~SleepableSensor() { } bool SleepableSensor::isAsleep() { return __sleeping; }