-
Notifications
You must be signed in to change notification settings - Fork 0
/
calculos.h
38 lines (30 loc) · 932 Bytes
/
calculos.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* ========================================
*
* Copyright YOUR COMPANY, THE YEAR
* All Rights Reserved
* UNPUBLISHED, LICENSED SOFTWARE.
*
* CONFIDENTIAL AND PROPRIETARY INFORMATION
* WHICH IS THE PROPERTY OF your company.
*
* ========================================
*/
#ifndef CALCULOS_H
#define CALCULOS_H
#include "project.h"
/*** MACROS ***/
/*** PROTOTIPO DE VARIABLES GLOBALES ***/
extern uint32 conteos_entre_eventos;
extern uint16 velocidad_sonido;
extern uint16 distancia;
extern uint8 altura_del_sensor_guardada;
extern uint16 altura_del_sensor;
extern uint16 altura_de_la_persona;
/*** PROTOTIPO DE FUNCIONES ***/
void calcular_tiempo_transcurrido(void);
void calcular_velocidad_sonido(void);
void calcular_distancia(void);
void calcular_altura(void);
/*** PROTOTIPO DE INTERRUPCIONES ***/
#endif
/* [] END OF FILE */