led blinky example 3

Dependencies:   mbed

Fork of mbed_blinky_1 by richard misi

Files at this revision

API Documentation at this revision

Comitter:
RCMISbed
Date:
Mon Aug 27 16:05:24 2018 +0000
Parent:
2:16a42f4b1a64
Commit message:
v2718

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 16a42f4b1a64 -r f715fe90683d main.cpp
--- a/main.cpp	Sat Aug 25 10:17:32 2018 +0000
+++ b/main.cpp	Mon Aug 27 16:05:24 2018 +0000
@@ -1,9 +1,11 @@
 #include "mbed.h"
 
 DigitalOut myled(LED3);
+DigitalOut sound(p8);                                                           // Commande Digitale/ Son
 
 // Main loop
 int main() {
+    sound= 0;
     while(1) {
         myled = 1;
         wait(0.05);