19 releases (breaking)

0.14.2 Jan 22, 2023
0.14.1 May 5, 2022
0.13.0 Sep 28, 2021
0.12.0 Jul 5, 2021
0.2.0 Jun 27, 2019

#126 in Embedded development

Download history 51/week @ 2023-12-10 8/week @ 2023-12-17 27/week @ 2023-12-24 4/week @ 2023-12-31 79/week @ 2024-01-07 17/week @ 2024-01-14 50/week @ 2024-01-21 9/week @ 2024-01-28 21/week @ 2024-02-04 26/week @ 2024-02-11 54/week @ 2024-02-18 81/week @ 2024-02-25 91/week @ 2024-03-03 105/week @ 2024-03-10 38/week @ 2024-03-17 36/week @ 2024-03-24

279 downloads per month
Used in 4 crates

MIT/Apache

120KB
3.5K SLoC

crates.io version docs.rs

Infrared

Rust library for using Infrared hardware decoders (For example a Vishay TSOP* decoder), enabling remote control support for embedded project.

This library aims for to be useful with the any MCU hal that implements the embedded-hal traits, and at the same time provide functionality for using it with more efficient implementation such as input capture, and be useful in host applications (such as Blipper).

Supported protocols

  • The NEC Protocol and the Samsung variant of it
  • Philips Rc5 and Rc6
  • "Samsung BluRay Player protocol". Please let know if you know what it really is called :)
  • Denon 48 bit protocol

Tested with

  • Tested with bluepill board
  • Vishay TSOP382 IR receiver
  • Various ir leds
  • NEC Generic "Special for MP3" and Samsung remotes
  • Rc6 tested with a Philips Bluray player remote
  • Rc5 tested with a Marantz CD player remote

Boards

References

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~245KB