Giter Site home page Giter Site logo

lirc_rpi's Introduction

lirc_rpi: GPIO-based Lirc driver for Raspberry Pi

This code is a further development of the Lirc driver for the Raspberry Pi by Aron Szabo, which was derived from the Lirc serial driver.

The added features are: Multiple transmitter support, support for "modulation frequency 0", and the programmable inversion of outputs.

It is described in greater detail in this article (not quite up-to-data). Please also see this article for possible hardware.

The original work is copyrighted under the GNU General Public License, version 2 "or later". Being a derived work, this goes for my version too.

Update 2016-12-06

Updated for current Raspberry Pi OS, including device tree (the file lirc-rpi-overlay.dts). Tested with Raspian May 2016 kernel 4.4.11-v7+. Changes:

  • The option gpio_out_pins has been renamed to gpio_out_pin (singular), to be compatible by the original lirc_rpi. Suggested by Aron.
  • New option gpio_in_pull (from the Raspian lirc_rpi).
  • The option tx_mask has been removed (not really a module parameter, but a user parameter).
  • Support for devicetree; the new file lirc-rpi-overlay.dts. (Note the hyphens; there is an underscore in lirc_rpi.) Note that the actually used pins (or a superset thereof) have to be defined in this file, which is subsequently compiled, for example when building the kernel.

Update 2017-07-05

Verified that the current version compiles and runs on the current official Raspian (with 4.9 kernel). In the light of issue 8 create a version that runs with the new media distribution. This is checked in into the media branch.

lirc_rpi's People

Contributors

bengtmartensson avatar

Watchers

José Motta Lopes avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.