Skip to content

[UNMAINTAINED] Generates signal buffers for different infrared device manufacturers. Designed to be used with Tessel

Notifications You must be signed in to change notification settings

tessel/ir-codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[UNMAINTAINED] This library does not have a maintainer. The source code and repository will be kept at this URL indefinitely. If you'd like to help maintain this codebase, create an issue on this repo explaining why you'd like to become a maintainer and tag @tessel/maintainers in the body.

ir-codes

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

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.

Installation

npm install ir-codes

Example

To get a Sony IR code to send to Tessel:

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

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

About

[UNMAINTAINED] Generates signal buffers for different infrared device manufacturers. Designed to be used with Tessel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published