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

#216 in Embedded development

Download history 81/week @ 2024-02-26 93/week @ 2024-03-04 110/week @ 2024-03-11 31/week @ 2024-03-18 29/week @ 2024-03-25 129/week @ 2024-04-01 38/week @ 2024-04-08 34/week @ 2024-04-15 108/week @ 2024-04-22 33/week @ 2024-04-29 24/week @ 2024-05-06 36/week @ 2024-05-13 72/week @ 2024-05-20 36/week @ 2024-05-27 50/week @ 2024-06-03 37/week @ 2024-06-10

201 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

~240KB