mga vga / TP1

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
mga
Date:
Mon Nov 04 13:36:06 2013 +0000
Commit message:
question 1

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.lib Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Nov 04 13:36:06 2013 +0000
@@ -0,0 +1,9 @@
+#include "mbed.h"
+//1 ere question : Allumer une LED
+//Initialiser le LED et préciser le port 1;
+DigitalOut myled(LED1);
+
+ int main() {
+         //Allumer la LED
+         myled = 2;
+ }
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.lib	Mon Nov 04 13:36:06 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/#f37f3b9c9f0b