C4EV3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
nxt_sound.h
Go to the documentation of this file.
1 #ifndef EV3_API_NXT_SOUND_H
2 #define EV3_API_NXT_SOUND_H
3 
4 #include "ev3_sensors.h"
5 
6 #define NXT_SOUND_SENSOR_DEFAULT_MODE 0
7 
8 extern SensorHandler * NXTSound;
9 
10 // TODO: Mode not implemented yet
11 typedef enum NXTSoundReadingMode {
12  DB,
15 
16 int ReadNXTSoundSensor(int port, NXTSoundReadingMode mode);
17 
18 #endif //EV3_API_NXT_SOUND_H
NXTSoundReadingMode
Definition: nxt_sound.h:11
int ReadNXTSoundSensor(int port, NXTSoundReadingMode mode)
Definition: nxt_sound.h:13
Imports all the c4ev3 supported sensors.
Definition: ev3_sensors.h:15
Definition: nxt_sound.h:12
SensorHandler * NXTSound