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

PWM-Expansion-Node-Module missing information about required callbacks #60

Open
gym22 opened this issue Jan 26, 2018 · 0 comments
Open

Comments

@gym22
Copy link

gym22 commented Jan 26, 2018

Onion-Docs/Omega2/Documentation/Reference/Libraries/PWM-Expansion-Node-Module.md is incorrect.

The setupDriver, setFrequency and disableChip methods require a callback to function correctly. This is missing from the documentation.

i.e.

 pwmExp.setupDriver(0,50,0, () => {
console.log("setupDriver success.");
});
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