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

rf-nrf24

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rf-nrf24 - npm Package Compare versions

Comparing version

to
0.8.3

2

examples/nrf24.js

@@ -9,3 +9,3 @@ /* tessel to tessel

pipes = [0xF0F0F0F0E1, 0xF0F0F0F0D2],
role = 'ping'; // swap this to pong if you want to wait for receive
role = 'pong'; // swap this to pong if you want to wait for receive

@@ -12,0 +12,0 @@ var nrf = NRF24.channel(0x4c) // set the RF channel to 76. Frequency = 2400 + RF_CH [MHz] = 2476MHz

@@ -10,3 +10,3 @@ /*

pipes = [0xF0F0F0F0E1, 0xF0F0F0F0D2],
role = 'ping'; // swap this to pong if you want to wait for receive
role = 'pong'; // swap this to pong if you want to wait for receive

@@ -13,0 +13,0 @@ var nrf = NRF24.channel(0x4c) // set the RF channel to 76. Frequency = 2400 + RF_CH [MHz] = 2476MHz

@@ -92,3 +92,3 @@ var q = require('queue-async'),

var nrf = new events.EventEmitter();
nrf._debug = true;
if (type == 'tessel') {

@@ -514,3 +514,3 @@ _ce = "builtin";

// hybrid mode: polling, but of IRQ pin instead of nrf status
irq.watch('fall', irqListener);
irq.on('fall', irqListener);
} else {

@@ -527,3 +527,3 @@ console.warn("Recommend use with IRQ pin, fallback handling is suboptimal.");

else if (irq && !tessel) irq.removeListener('fall', irqListener);
else if (tessel) irq.unwatch('fall');
else if (tessel) irq.removeListener('fall', irqListener);
else clearInterval(irqListener);

@@ -530,0 +530,0 @@ irqOn = false;

{
"name": "rf-nrf24",
"version": "0.8.2",
"version": "0.8.3",
"description": "nRF24L01 driver library",

@@ -5,0 +5,0 @@ "main": "index.js",