Projet Densimètre / Mbed 2 deprecated TestSTM32-3_LED_ext

Dependencies:   mbed

Fork of TestSTM32-3_LED_ext by Louis Mougin

Committer:
lawis
Date:
Mon Apr 09 13:01:12 2018 +0000
Revision:
5:6f62a732037f
Parent:
2:c69c9100ee12
ensuite;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JoshJohn 0:16dc5273708d 1 #include "mbed.h"
JoshJohn 0:16dc5273708d 2
JoshJohn 0:16dc5273708d 3 DigitalOut myled(PH1);
JoshJohn 0:16dc5273708d 4
JoshJohn 0:16dc5273708d 5 int main() {
JoshJohn 0:16dc5273708d 6 while(1) {
JoshJohn 0:16dc5273708d 7 myled = 1; // LED is ON
JoshJohn 0:16dc5273708d 8 wait(0.2); // 200 ms
JoshJohn 0:16dc5273708d 9 myled = 0; // LED is OFF
JoshJohn 0:16dc5273708d 10 wait(1.0); // 1 sec
JoshJohn 0:16dc5273708d 11 }
JoshJohn 0:16dc5273708d 12 }
lawis 1:d35e41960d86 13 //j'ai rajouté ça."
JoshJohn 2:c69c9100ee12 14
JoshJohn 2:c69c9100ee12 15 // et moi j'add ceci
lawis 5:6f62a732037f 16 // et ça en plus