1.0.4 • Published 4 months ago

rc-sender-js v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

RC-Sender-JS

This is just a little package to control 433mhz devices on Raspberry Pi. It uses golang because of some performance issues. You don't need any external library like wiring-pi or pigpio. It's based on the RC-Switch repository for Arduino and ESP8266.

For rootless use (/dev/gpiomem) you need to add your user to the GPIO group.

Usage

const { RCSender } = require("rc-sender-js");

var sender = new Sender(15); //bcm2835 pin, not physical pin

sender.setProtocol(2);
sender.setPulseLength(300);
sender.setRepeatTransmit(5);

sender.send(3123112, 24);
1.0.4

4 months ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago