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

"Type Error: wpi.pcf8574Setup is not a function" #84

Open
Triadager opened this issue Oct 9, 2017 · 0 comments
Open

"Type Error: wpi.pcf8574Setup is not a function" #84

Triadager opened this issue Oct 9, 2017 · 0 comments

Comments

@Triadager
Copy link

Hey guys, I'm sorry to bother, but when I want to set up my PCF8574 I keep getting the error above. I'm really new to programming in general so I already put some hours into trying to figure out why it doesn't work but I just don't get it. What am I doing wrong? Or is this function not just not implemented yet?

var wpi = require("wiringpi-node");

wpi.pcf8574Setup(64,0x20);

The error occurs almost literally in the second line of my code. I'm running on "node.js" v8.6.0, "npm" version 5.4.2 and "wiringpi-node" version 2.4.4

I highly appreciate any help!

Thanks,

Flo

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

No branches or pull requests

1 participant