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:
- 3:e877a237c329
- Parent:
- 2:3c335fcdd7f4
- Child:
- 4:9c39770e13e6
--- a/main.cpp Thu Jul 16 05:44:13 2020 +0000 +++ b/main.cpp Thu Jul 16 05:59:32 2020 +0000 @@ -161,7 +161,7 @@ init_state(); wait(1); pc.printf("+"); - ticker.attach_us(PWM_processor, 500.0f/128.0f); + ticker.attach_us(PWM_processor, 500.0f/39.0f); pc.printf("+"); while(1) { @@ -172,10 +172,10 @@ // } // code for test - if(test_count%100000 == 0) { - pc.printf("+"); - test_count = 1; - } +// if(test_count%1 == 0) { + pc.printf("+"); +// test_count = 0; +// } // end of code for test }