Proyecto ABInBev para la tarjeta Guaria 1/2.

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers inputDebounce.hpp Source File

inputDebounce.hpp

Go to the documentation of this file.
00001 /**
00002  * @file inputDebounce.hpp
00003  * @author Felícito Manzano (felicito.manzano@detektor.com.sv)
00004  * @brief 
00005  * @version 0.1
00006  * @date 2020-10-01
00007  * 
00008  * @copyright Copyright (c) 2020
00009  * 
00010  */
00011 
00012 
00013 #ifndef __INPUTDEBOUNCE_HPP
00014 #define __INPUTDEBOUNCE_HPP
00015 
00016     extern const int SAMPLES_INPUT;
00017     extern const int SAMPLES_RAIN;
00018 
00019     int exeIgnition (DigitalIn *Ign, bool arrayIgn[], bool *actIgn, bool *preIgn, int *cont);
00020     int exeDigInput (DigitalIn *my_Input, bool my_arrayInput[], bool *my_Input_read, bool *my_Input_previous, int *cont);
00021     int exeDigRain (DigitalIn *my_Input, bool my_arrayInput[], bool *my_Input_read, bool *my_Input_previous, int *cont);
00022 
00023 #endif// __INPUTDEBOUNCE_HPP