Code Monkey home page Code Monkey logo

Comments (8)

nekuz0r avatar nekuz0r commented on August 15, 2024

Which version of nodejs are you using ?

from wiringpi-node.

PeterBorisenko avatar PeterBorisenko commented on August 15, 2024
C:\Windows\System32>node --version
v0.12.4

from wiringpi-node.

nekuz0r avatar nekuz0r commented on August 15, 2024

Is it reproducible with your code ?
Is it happening directly or random ?

from wiringpi-node.

xseignard avatar xseignard commented on August 15, 2024

Hello same error here.

With Raspbian Jessie Lite, node v4.2.1 and 2.1.0 of this module.

Here is a simple code that makes V8 crash, and it seems to be reproducible.

var wpi = require('wiring-pi');
var btnPin = 4;

wpi.setup('wpi');
wpi.pinMode(btnPin, wpi.INPUT);
wpi.pullUpDnControl(btnPin, wpi.PUD_UP);
wpi.wiringPiISR(btnPin, wpi.INT_EDGE_FALLING, function(delta) {
    console.log('btnPin changed to LOW (', delta, ')');
});

from wiringpi-node.

benallen-dev avatar benallen-dev commented on August 15, 2024

I am getting this issue also, it occurs even when using the sample code in the documentation.

A workaround could be implemented using polling instead of interrupts but I haven't tested this approach yet.

from wiringpi-node.

benallen-dev avatar benallen-dev commented on August 15, 2024

PS I'm using Raspbian Wheezy, all up to date.

from wiringpi-node.

Illizian avatar Illizian commented on August 15, 2024

👍 I'm also seeing this issue, with the example code and a simple push button.

$ uname -a
Linux alarmpi 4.1.15-1-ARCH #1 Tue Dec 15 18:28:56 MST 2015 armv6l GNU/Linux

$ node --version
v5.3.0

UPDATE: @taoyuan's fix #34 resolves this for me.

from wiringpi-node.

nekuz0r avatar nekuz0r commented on August 15, 2024

Fixed, closing

from wiringpi-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.