Version paralela con display grande y funciones adicionales
Dependencies: BufferedSerial mbed
Fork of ConduSe-Speedometer2 by
Diff: constantes.hpp
- Revision:
- 0:2f13a25aa470
- Child:
- 2:1219ed8d7039
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/constantes.hpp Tue Aug 30 22:31:44 2016 +0000 @@ -0,0 +1,44 @@ +/* + * - Proyecto: SABMiller ILC + Velocímetro digital + CONDUSE + + * - Lenguaje: ANSI C/C++ (mbed) + * - Tarjeta: Nucleo F303K8 + * - Referencias: + * - Fecha: 2016/Agosto + * - Autor(es): Felícito Manzano / + Mario Vargas + * - Compañia: V.S.R. de Centroamérica + * - País: SV / CR +*/ + +// DEFINICIÓN DE CONSTANTES PARA CONDUSE // +extern const int QUERRY_CONDUSE[9]; +extern const float KNOTS; +extern const int BYTE0_CONDUSE; +extern const int BYTE1_CONDUSE; +extern const int CONDUSE_VAL0; +extern const int CONDUSE_VAL1; +extern const int CONDUSE_VELOCIDAD; +extern const float CONDUSE_MIN_VEL; +extern const float CONDUSE_MAX_VEL; +extern const float VEL_RALENTI; +extern const float VEL_ADVERTENCIA; +extern const float VEL_LIMITE; + +// DEFINICIÓN PARA DISPLAY DE 7 SEGMENTOS +extern const int DIGITOS[10] [7]; +extern const int CIEN_MAYOR[2]; +extern const int CIEN_MENOR[2]; +extern const int GUION[7]; +extern const int ERROR_D7S[7]; + +// CONSTANTES PARA COLORES +extern const float COLORES[5] [3]; + +// OTRAS CONSTANTES +extern const int BUFF_SIZE; +extern const int TX_MULTIP; +extern const int T_ESPERA_CP; // mili segundos +extern const int T_TX; // mili segundos \ No newline at end of file