ON OFF LED

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Led_Colores.h Source File

Led_Colores.h

00001 #include "mbed.h"
00002 #define off 1
00003 #define on 0
00004 
00005 void ColorLed(int);
00006 
00007 enum Bit_Color{
00008                     BIT_RED=1,BIT_GREEN=2,BIT_BLUE=4 
00009     };
00010 enum Led_Color {
00011                     BLACK,RED,GREEN,YELLOW,BLUE,MAGENTA,CYAN,WHITE
00012     };