Closed paulrosbif closed 8 years ago
Hi, just checked this out, and looks like some extensions are not loaded in https://github.com/eugeneware/wiring-pi/blob/master/src/extensions/extensions.cc
Hey @nekuz0r I've just created a PR #49 to fix this issue. Could you review it?
Excellent! I'll go try it Paul
On 29 September 2016 at 15:24, Gohy Leandre notifications@github.com wrote:
Closed #42 https://github.com/eugeneware/wiring-pi/issues/42 via 6931958 https://github.com/eugeneware/wiring-pi/commit/6931958c392968dd53d06cc39b133a6d852d0f46 .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eugeneware/wiring-pi/issues/42#event-807081062, or mute the thread https://github.com/notifications/unsubscribe-auth/AOjmd6Qg_500AdTXAZIpPDenUt8mHtAgks5qu8o2gaJpZM4IR3lW .
I'm using node v5.11.0 on a Raspberry PI 3, with gpio v2.32. I've added the wiring-pi via npm and while I can use the basic functions (for example wpi.wiringPiSetup()) when I try to run a simple test:
var wpi = require('wiring-pi'); var basePin = 64; wpi.wiringPiSetup(); wpi.sn3218Setup(basePin); wpi.analogWrite(1,255); console.log("Pin should be on");
I getTypeError: wpi.sn3218Setup is not a function
. Is there some additional setup I'm missing for the extension?