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.
Revision 1:2b994ad0ac2b, committed 2020-08-23
- Comitter:
- hudakz
- Date:
- Sun Aug 23 12:15:22 2020 +0000
- Parent:
- 0:1a172e2d6b86
- Commit message:
- Updated to Mbed OS 6.2.1
Changed in this revision
--- a/main.cpp Mon Apr 02 17:45:25 2018 +0000 +++ b/main.cpp Sun Aug 23 12:15:22 2020 +0000 @@ -1,23 +1,20 @@ // Blinky demo for the STM32F407VET6 boards. -// See http://wiki.stm32duino.com/index.php?title=STM32F407. // -// Use "Seed Arch Max" as target platform for the online compiler. +// Use "Select Arch Max" as target platform for the online compiler. #include "mbed.h" DigitalOut led1(PA_6); -DigitalOut led2(PA_7); int main() { - led2 = 1; // off + printf("Starting ...\r\n"); - while(true) - { + while(true) { led1 = 0; // on - wait_ms(50); + ThisThread::sleep_for(50ms); led1 = 1; // off - wait_ms(1200); + ThisThread::sleep_for(1000ms); printf("Blink\r\n"); } }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os.lib Sun Aug 23 12:15:22 2020 +0000 @@ -0,0 +1,1 @@ +https://github.com/ARMmbed/mbed-os/#890f0562dc2efb7cf76a5f010b535c2b94bce849
--- a/mbed.bld Mon Apr 02 17:45:25 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/994bdf8177cb \ No newline at end of file