JM9 XRCU Board 0.1.1
Libraries API Reference
Loading...
Searching...
No Matches
Heading_sensor.h
Go to the documentation of this file.
1
8
9#ifndef HEADING_SENSOR_H
10#define HEADING_SENSOR_H
11
12#include <Arduino.h>
13
14#include <Supported_sensor.h>
15
23 protected:
29
30 public:
35 virtual bool reset_heading () = 0;
36
42 virtual uint16_t get_heading () = 0;
43};
44
45#endif // #ifndef HEADING_SENSOR_H
Heading_sensor()
Creates a Heading_sensor object.
Definition Heading_sensor.h:28
virtual uint16_t get_heading()=0
Gets the heading of compass in degrees.
virtual bool reset_heading()=0
Takes the current heading of compass as zero.
Supported_sensor()
Creates an object of a supported sensor.
Definition Supported_sensor.h:23