Arduboy port for the stm32 disco board (F7)

Dependencies:   mbed

Committer:
lmayencou
Date:
Mon Jan 09 20:08:20 2017 +0000
Revision:
0:8b84860773b0
init state

Who changed what in which revision?

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