mga vga / TP1

Dependencies:   mbed

Committer:
mga
Date:
Mon Nov 04 13:36:06 2013 +0000
Revision:
0:58a59716b896
question 1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mga 0:58a59716b896 1 #include "mbed.h"
mga 0:58a59716b896 2 //1 ere question : Allumer une LED
mga 0:58a59716b896 3 //Initialiser le LED et préciser le port 1;
mga 0:58a59716b896 4 DigitalOut myled(LED1);
mga 0:58a59716b896 5
mga 0:58a59716b896 6 int main() {
mga 0:58a59716b896 7 //Allumer la LED
mga 0:58a59716b896 8 myled = 2;
mga 0:58a59716b896 9 }