Generate manufacturer specific IR signal durations to use with Tessel's IR module
Last updated 6 years ago by johnnyman727 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ir-codes 
SYNC missed versions from official npm registry.


Generates signal buffers for different infrared device manufacturers. Designed to be used with Tessel's ir-attx4 module. The signals generated are buffers with 16-bit words representing on and off durations of the LED. Positive numbers for on durations and negative numbers for off durations.

Loosely based off of @shirriff's Arduino-IRRemote library.


Contributions needed! In order to create and test IR codes, we need developers with different kinds of IR devices to add that functionality.

Check out this Tessel forum post for guidance on how to figure out a manufacturer's IR codes.


npm install ir-codes


To get a Sony IR code to send to Tessel:

var ir = require('ir-codes');

var code = ir.generate('sony', 0xA50)

Current Tags

  • 0.0.1                                ...           latest (6 years ago)

1 Versions

  • 0.0.1                                ...           6 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
Dev Dependencies (1)
Dependents (0)

Copyright 2014 - 2016 © |