Private
Public Access
2
0

Pwm3-cycle.cpp: add pwm::enable() call to example

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-11-03 15:08:11 +00:00
parent cbf4c7447f
commit 9235ed178a

View File

@@ -49,6 +49,7 @@ int main ()
return MRAA_ERROR_UNSPECIFIED;
}
fprintf(stdout, "Cycling PWM on IO3 (pwm3) \n");
pwm->enable(true);
float value = 0.0f;
while (running == 0) {