Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Commit

Permalink
refs #17 Add thermistor type.
Browse files Browse the repository at this point in the history
  • Loading branch information
yoos committed Feb 10, 2015
1 parent a60c6aa commit 1529ae7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/sensor/thermistor.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#ifndef THERMISTOR_HPP_
#define THERMISTOR_HPP_

#include <array>

struct ThermistorReading {
float celsius;
};

class Thermistor {
public:
virtual void init() = 0;
virtual ThermistorReading readTherm() = 0;
};

#endif

0 comments on commit 1529ae7

Please sign in to comment.