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 BSP_DISCO_F746NG
main.cpp
- Committer:
- ngtkien
- Date:
- 2019-08-12
- Revision:
- 1:c57c528f99f1
- Parent:
- 0:abdc9ad40139
- Child:
- 2:98dae9fe6f5d
File content as of revision 1:c57c528f99f1:
#include "mbed.h"
#include "stm32746g_discovery.h"
DigitalOut myled(LED1);
int main() {
while(1) {
myled = 1; // LED is ON
wait(0.2); // 200 ms
myled = 0; // LED is OFF
wait(1.0); // 1 sec
}
}