C4EV3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ht_ir.h
Go to the documentation of this file.
1 #ifndef EV3_API_HT_IR_H
2 #define EV3_API_HT_IR_H
3 
4 #include "ev3_sensors.h"
5 
6 #define HT_IR_SENSOR_DEFAULT_MODE 0
7 
8 // TODO: Specify version 2
9 extern SensorHandler * HTIr;
10 
11 typedef enum HTIrReadingMode {
15 
16 int ReadHTIrSensor(int port, HTIrReadingMode mode);
17 
18 #endif //EV3_API_HT_IR_H
SensorHandler * HTIr
int ReadHTIrSensor(int port, HTIrReadingMode mode)
Definition: ht_ir.h:13
Definition: ht_ir.h:12
Imports all the c4ev3 supported sensors.
Definition: ev3_sensors.h:15
HTIrReadingMode
Definition: ht_ir.h:11