Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 2:b261cb3cafcf
- Parent:
- 1:55c209e14e75
diff -r 55c209e14e75 -r b261cb3cafcf main.cpp --- a/main.cpp Wed Mar 07 10:31:13 2018 +0000 +++ b/main.cpp Fri Mar 09 08:48:19 2018 +0000 @@ -1,13 +1,12 @@ #include "mbed.h" DigitalOut M3_DIR (D4); -DigitalIn button1(SW3); -DigitalIn button2(SW2); DigitalIn ButtonClockwise(D2); DigitalIn ButtonAnticlockwise(D3); PwmOut M3 (D5); DigitalOut led_red_base(LED_RED); + float frequency_pwm = 10000.0f; @@ -41,4 +40,3 @@ return 0; } -