27 #ifndef EV3_INFRARED_H
28 #define EV3_INFRARED_H
30 #define ESA_Command 0x41
32 #include "NXShieldI2C.h"
33 #include "EV3SensorAdapter.h"
39 MODE_InfraRed_Proximity = 0x00,
40 MODE_InfraRed_Beacon = 0x01,
41 MODE_InfraRed_Remote = 0x02,
int8_t readBeaconHeading(char channel)
Definition: EV3InfraRed.cpp:45
uint8_t BeaconInRange(char channel)
Definition: EV3InfraRed.cpp:76
uint8_t readButtonValue(char channel)
Definition: EV3InfraRed.cpp:67
This class interfaces with sensor attached to NXShield.
Definition: EV3SensorAdapter.h:34
uint8_t readBeaconProx(char channel)
Definition: EV3InfraRed.cpp:54
This class implements EV3 InfraRed Sensor using EV3SensorAdapter.
Definition: EV3InfraRed.h:45
uint8_t setMode(MODE_InfraRed)
Definition: EV3InfraRed.cpp:34