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 12:51:50 2018 +0000
Revision:
3:c0f4a91b1d9c
Parent:
1:d35e41960d86
Child:
4:76891ea902e9
sdfhgjk;

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."
lawis 3:c0f4a91b1d9c 14 ,nhf