
elec350
Fork of elec350 by
Diff: soft_pwm.h
- Revision:
- 11:4685f33a2468
- Parent:
- 10:021f19a9861f
- Child:
- 12:ae626e46b996
diff -r 021f19a9861f -r 4685f33a2468 soft_pwm.h --- a/soft_pwm.h Wed Oct 21 19:52:30 2015 +0000 +++ b/soft_pwm.h Wed Oct 21 20:01:11 2015 +0000 @@ -14,6 +14,10 @@ void setPeriod(float newPeriod); void setDutyCycle(float newDutyCycle); + + float getDutyCycle(); + float getPeriod(); + bool isOn(); };