Proyecto Leds 2, sistemas embebidos

Dependencies:   Diego Olivia cruz mbed ortega

main.cpp

Committer:
DiegoRivera
Date:
2016-02-17
Revision:
1:451e96a9437f
Parent:
0:473d5b97afa2

File content as of revision 1:451e96a9437f:

#include "mbed.h"
Serial  pc(USBTX, USBRX);

DigitalOut led1 (LED1);
DigitalOut led2 (LED2);
DigitalOut led3 (LED3);

#include "solano.h"
#include "cruz.h"
#include "ortegacer.h"
#include "Diego.h"

int main() 
{
    pc.baud(9600);
    pc.format(8,SerialBase::None,1);
    
    while(1) 
    {
        cruz_led();
        ortegacer_led2();
        solano_led();
        Diego_led();
    }
}