C4EV3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ht_compass.h
Go to the documentation of this file.
1 #ifndef EV3_API_HT_COMPASS_H
2 #define EV3_API_HT_COMPASS_H
3 
4 #include "ev3_sensors.h"
5 
6 #define HT_COMPASS_SENSOR_DEFAULT_MODE 0
7 
8 extern SensorHandler * HTCompass;
9 
10 typedef enum HTCompassReadingMode {
14 
15 int ReadHTCompassSensor(int port, HTCompassReadingMode mode);
16 
17 void StartHTCompassCalibration(int port);
18 
19 void StopHTCompassCalibration(int port);
20 
21 
22 #endif //EV3_API_HT_COMPASS_H
int ReadHTCompassSensor(int port, HTCompassReadingMode mode)
void StartHTCompassCalibration(int port)
HTCompassReadingMode
Definition: ht_compass.h:10
Definition: ht_compass.h:12
Imports all the c4ev3 supported sensors.
SensorHandler * HTCompass
void StopHTCompassCalibration(int port)
Definition: ht_compass.h:11
Definition: ev3_sensors.h:15