Proyecto Leds 2, sistemas embebidos

Dependencies:   Diego Olivia cruz mbed ortega

Committer:
DiegoRivera
Date:
Wed Feb 17 19:02:36 2016 +0000
Revision:
1:451e96a9437f
Parent:
0:473d5b97afa2
Final

Who changed what in which revision?

UserRevisionLine numberNew contents of line
DiegoRivera 0:473d5b97afa2 1 #include "mbed.h"
DiegoRivera 0:473d5b97afa2 2 Serial pc(USBTX, USBRX);
DiegoRivera 0:473d5b97afa2 3
DiegoRivera 1:451e96a9437f 4 DigitalOut led1 (LED1);
DiegoRivera 1:451e96a9437f 5 DigitalOut led2 (LED2);
DiegoRivera 1:451e96a9437f 6 DigitalOut led3 (LED3);
DiegoRivera 1:451e96a9437f 7
DiegoRivera 0:473d5b97afa2 8 #include "solano.h"
DiegoRivera 0:473d5b97afa2 9 #include "cruz.h"
DiegoRivera 0:473d5b97afa2 10 #include "ortegacer.h"
DiegoRivera 0:473d5b97afa2 11 #include "Diego.h"
DiegoRivera 0:473d5b97afa2 12
DiegoRivera 0:473d5b97afa2 13 int main()
DiegoRivera 0:473d5b97afa2 14 {
DiegoRivera 0:473d5b97afa2 15 pc.baud(9600);
DiegoRivera 0:473d5b97afa2 16 pc.format(8,SerialBase::None,1);
DiegoRivera 0:473d5b97afa2 17
DiegoRivera 0:473d5b97afa2 18 while(1)
DiegoRivera 0:473d5b97afa2 19 {
DiegoRivera 0:473d5b97afa2 20 cruz_led();
DiegoRivera 0:473d5b97afa2 21 ortegacer_led2();
DiegoRivera 0:473d5b97afa2 22 solano_led();
DiegoRivera 0:473d5b97afa2 23 Diego_led();
DiegoRivera 0:473d5b97afa2 24 }
DiegoRivera 0:473d5b97afa2 25 }