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.
Dependencies: mbed mbed-STM32F103C8T6
Revision 0:ecabdd1a7f9e, committed 2019-09-22
- Comitter:
- Javierdf
- Date:
- Sun Sep 22 02:57:19 2019 +0000
- Commit message:
- JDF_Blue_pill_led_test
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Sep 22 02:57:19 2019 +0000 @@ -0,0 +1,22 @@ +#include "stm32f103c8t6.h" +#include "mbed.h" + +DigitalOut ledtest(PC_13); +int i=100; +int main() { + + + while(1) { + + ledtest = 0; // LED is ON + wait_ms(i); // 200 ms + ledtest = 1; // LED is OFF + wait_ms(i); // 1 sec + i=i+100; + if(i>=1000) + { + i=100; + + } + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-STM32F103C8T6.lib Sun Sep 22 02:57:19 2019 +0000 @@ -0,0 +1,1 @@ +http://os.mbed.com/users/hudakz/code/mbed-STM32F103C8T6/#727468adfd1d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sun Sep 22 02:57:19 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/5aab5a7997ee \ No newline at end of file