
Test with PwmOut control with LED and potentiometer
Dependencies: FastPWM MODSERIAL mbed
Revision 2:53cdaa3221f0, committed 2018-09-28
- Comitter:
- rubenlucas
- Date:
- Fri Sep 28 07:21:34 2018 +0000
- Parent:
- 1:64f88c2f1826
- Commit message:
- frequency ---> Frequency: line 22
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 64f88c2f1826 -r 53cdaa3221f0 main.cpp --- a/main.cpp Wed Sep 26 12:24:48 2018 +0000 +++ b/main.cpp Fri Sep 28 07:21:34 2018 +0000 @@ -19,7 +19,7 @@ int main() { - float frequency = 10000.0; // 10 kHz + float Frequency = 10000.0; // 10 kHz ReadPotmetersTicker.attach(ReadPotmeterValues, 0.1); // ask for value potmeter every 100 ms