mattjlewis / diozero

Java Device I/O library that is portable across Single Board Computers and microcontrollers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos / Pico. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
https://www.diozero.com
MIT License
261 stars 59 forks source link

How to realize infrared reception #154

Closed bigtian99 closed 1 year ago

bigtian99 commented 1 year ago

Excuse me, with what method can use this class library to achieve infrared reception, this class library operation is really too concise, I like very much

EAGrahamJr commented 1 year ago

It depends on what device and how it's hooked up. If you're hooking up directly to an IR sensor, then typically you'd want to use a DigitalInput on the signal pin.