New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ir-codes

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ir-codes

Generate manufacturer specific IR signal durations to use with Tessel's IR module

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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)

Keywords

FAQs

Package last updated on 27 Jul 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc