Skip to content

Instantly share code, notes, and snippets.

@zs40x
Created March 5, 2016 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zs40x/bdf0839e083cf6544a2f to your computer and use it in GitHub Desktop.
Save zs40x/bdf0839e083cf6544a2f to your computer and use it in GitHub Desktop.
interface SensorDevice
{
void powerOff();
void enable();
void disable();
bool isEnabled();
DateTime isEnabledSince();
int getFirmwareVersion();
long getSystemUptime();
int getLastReading();
int getMinReading();
int getMaxReading();
int getAvgReading();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment