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.
main.cpp
00001 // Blinky demo for the STM32F407VET6 boards. 00002 // 00003 // Use "Select Arch Max" as target platform for the online compiler. 00004 00005 #include "mbed.h" 00006 00007 DigitalOut led1(PA_6); 00008 00009 int main() 00010 { 00011 printf("Starting ...\r\n"); 00012 00013 while(true) { 00014 led1 = 0; // on 00015 ThisThread::sleep_for(50ms); 00016 led1 = 1; // off 00017 ThisThread::sleep_for(1000ms); 00018 printf("Blink\r\n"); 00019 } 00020 }
Generated on Tue Jul 12 2022 19:39:07 by
1.7.2