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

#329 in Embedded development

Download history 48/week @ 2024-07-22 167/week @ 2024-07-29 23/week @ 2024-08-05 28/week @ 2024-08-12 24/week @ 2024-08-19 23/week @ 2024-08-26 14/week @ 2024-09-02 34/week @ 2024-09-09 41/week @ 2024-09-16 106/week @ 2024-09-23 36/week @ 2024-09-30 14/week @ 2024-10-07 41/week @ 2024-10-14 15/week @ 2024-10-21 35/week @ 2024-10-28 34/week @ 2024-11-04

126 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

~235KB