Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sn3218 extension not available #42

Closed
paulrosbif opened this issue Apr 28, 2016 · 3 comments
Closed

sn3218 extension not available #42

paulrosbif opened this issue Apr 28, 2016 · 3 comments
Labels

Comments

@paulrosbif
Copy link

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 get TypeError: wpi.sn3218Setup is not a function. Is there some additional setup I'm missing for the extension?

@nekuz0r
Copy link
Collaborator

nekuz0r commented Sep 21, 2016

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

@nekuz0r nekuz0r added the bug label Sep 21, 2016
@NoHomey
Copy link
Collaborator

NoHomey commented Sep 29, 2016

Hey @nekuz0r I've just created a PR #49 to fix this issue. Could you review it?

@paulrosbif
Copy link
Author

Excellent! I'll go try it
Paul

On 29 September 2016 at 15:24, Gohy Leandre notifications@github.com
wrote:

Closed #42 #42 via 6931958
6931958
.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#42 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AOjmd6Qg_500AdTXAZIpPDenUt8mHtAgks5qu8o2gaJpZM4IR3lW
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants