rsg98 / node-wiring-pi

Node.js bindings to wiringPi
7 stars 8 forks source link

Access extensions? #5

Open nitwhiz opened 6 years ago

nitwhiz commented 6 years ago

Trying to use wpi.pcf8591Setup() gives me TypeError: wpi.pcf8591Setup is not a function. Same for mcp3004.

How do I access these setup functions?

rsg98 commented 6 years ago

The extensions aren’t currently implemented in this module - I haven’t needed them as yet, but happy to take a PR if you would like to add them in.

nitwhiz commented 6 years ago

Thought so. Saw the Disabled Extensions after commenting.

If I didn't want to finish the project I would need it now for (because the original node-wiringpi doesn't use the latest wiringpi as base) I would get into that asap. Maybe one day I'll do so.

Thanks for responding. :)