Version paralela con display grande y funciones adicionales
Dependencies: BufferedSerial mbed
Fork of ConduSe-Speedometer2 by
Diff: constantes.cpp
- Revision:
- 1:6f4d8d53996f
- Parent:
- 0:2f13a25aa470
- Child:
- 2:1219ed8d7039
--- a/constantes.cpp Tue Aug 30 22:31:44 2016 +0000 +++ b/constantes.cpp Wed Aug 31 18:42:25 2016 +0000 @@ -48,14 +48,23 @@ extern const int ERROR_D7S[7] = {1,0,0,1,1,1,1}; // CONSTANTES PARA COLORES -extern const float COLORES[5] [3] = { // R, G, B - {0.0000, 0.6353, 0.9098}, // CELESTE - {0.1333, 0.6941, 0.2980}, // VERDE - {1.0000, 0.9490, 0.0000}, // AMARILLO - {1.0000, 0.4980, 0.1529}, // NARANJA - {0.9294, 0.1098, 0.1412} // ROJO +extern const float COLORES[5] [3] = { // R, G, B ANODO COMÚN + {1.0000,0.3647,0.0902}, // CELESTE + {1.0000,0.2157,0.7490}, // VERDE + {0.0000,0.0510,1.0000}, // AMARILLO + {0.0000,0.5020,0.8471}, // NARANJA + {0.0706,0.8902,0.8588} // ROJO }; - + +/* CATODO COMÚN: +{ // R, G, B + {0.0000, 0.6353, 0.9098}, // CELESTE + {0.0000, 0.7843, 0.2510}, // VERDE + {1.0000, 0.9490, 0.0000}, // AMARILLO + {1.0000, 0.4980, 0.1529}, // NARANJA + {0.9294, 0.1098, 0.1412} // ROJO +}; +*/ // OTRAS CONSTANTES extern const int BUFF_SIZE = 128; extern const int TX_MULTIP = 1;