Skip to content

Commit

Permalink
Add Hygrometer sensor type, closes #13
Browse files Browse the repository at this point in the history
  • Loading branch information
loopj committed Mar 1, 2016
1 parent 477404e commit d0b570f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Hygrometer.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#pragma once

#include "Vector3.h"

/**
* A hygrometer measures the moisture content in the atmosphere, or
* relative humidity, as a percentage.
*/

class Hygrometer {
public:
// Get the current relative humidity, as a percentage
virtual float getRelativeHumidity() = 0;
};

0 comments on commit d0b570f

Please sign in to comment.