Dummy project for F030.

Dependencies:   mbed

Committer:
nightseas
Date:
Mon Jan 06 04:25:40 2020 +0000
Revision:
0:58cbf8ed271d
New project!

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nightseas 0:58cbf8ed271d 1 #include "mbed.h"
nightseas 0:58cbf8ed271d 2
nightseas 0:58cbf8ed271d 3 DigitalOut myled(LED1);
nightseas 0:58cbf8ed271d 4
nightseas 0:58cbf8ed271d 5 int main() {
nightseas 0:58cbf8ed271d 6 while(1) {
nightseas 0:58cbf8ed271d 7 myled = 1; // LED is ON
nightseas 0:58cbf8ed271d 8 wait(0.2); // 200 ms
nightseas 0:58cbf8ed271d 9 myled = 0; // LED is OFF
nightseas 0:58cbf8ed271d 10 wait(1.0); // 1 sec
nightseas 0:58cbf8ed271d 11 }
nightseas 0:58cbf8ed271d 12 }