Open gym22 opened 6 years ago
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."); });
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.