We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee2d729 commit 91fb7c8Copy full SHA for 91fb7c8
source/include/adafruit/bbio/pwm.h
@@ -39,7 +39,7 @@ class Pwm
39
Pwm(std::string const& key);
40
~Pwm();
41
42
- void start(float duty_cycle, float frequency, Polarity);
+ void start(float duty_cycle = 0.0, float frequency = 2000.0, Polarity = Polarity::Normal);
43
void stop();
44
45
// 0.0 <= duty_cycle <= 100.0
0 commit comments