2014-07-02 17:49:28 -04:00

22 lines
315 B
C++
Executable File

#ifndef hh12_h
#define hh12_h
#define HH12_DELAY 100 // microseconds
class hh12 {
public:
hh12();
void initialize(int _hh12_clock_pin, int _hh12_cs_pin, int _hh12_data_pin);
float heading();
private:
int hh12_clock_pin;
int hh12_cs_pin;
int hh12_data_pin;
};
#endif //hh12_h