Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
LED_COLORES/Led_Colores.h@0:7773c5daa37e, 2014-09-11 (annotated)
- Committer:
- jakarman12
- Date:
- Thu Sep 11 18:09:23 2014 +0000
- Revision:
- 0:7773c5daa37e
Plantilla Colores
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| jakarman12 | 0:7773c5daa37e | 1 | #include "mbed.h" |
| jakarman12 | 0:7773c5daa37e | 2 | #define ON 0 |
| jakarman12 | 0:7773c5daa37e | 3 | #define OFF 1 |
| jakarman12 | 0:7773c5daa37e | 4 | |
| jakarman12 | 0:7773c5daa37e | 5 | enum Bit_Color {BIT_RED=1, BIT_GREEN=2, BIT_BLUE=4}; |
| jakarman12 | 0:7773c5daa37e | 6 | enum Led_Color {BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE}; |
| jakarman12 | 0:7773c5daa37e | 7 | void Colores (int x); |
| jakarman12 | 0:7773c5daa37e | 8 | void Apaga_Leds (void); |
| jakarman12 | 0:7773c5daa37e | 9 | |
| jakarman12 | 0:7773c5daa37e | 10 | |
| jakarman12 | 0:7773c5daa37e | 11 |