public class IRReceiverOS1838B extends IRReceiver
Datasheet: OS-1838B
The OS-1838B is a miniaturized infrared receivers for remote control and other applications requiring improved ambient light rejection.
This module has excellent performance even in disturbed ambient light applications and provides protection against uncontrolled output pulses
Some specifications:
Note: the sensor chip can then be operated at 3.3V or 5V, when used with the Raspberry Pi.
Example of use: IRReceiverOS1838BExample
MAX_PULSE, RESOLUTION
gpio
Constructor and Description |
---|
IRReceiverOS1838B(GPIOPin pin)
Constructor for an infrared receiver OS-1838B using a specific GPIO pin.
|
decodeIRSignal, detectSignal
getType
public IRReceiverOS1838B(GPIOPin pin)
pin
- the GPIO pin to use to deal with the infrared receiver.