Šis repozitorijs ir arhivēts. Ir iespējams aplūkot tā failus un to konēt, bet nav iespējams iesūtīt izmaiņas, kā arī izveidot jaunas problēmas vai izmaiņu pieprasījumus.
2016-07-02 21:10:02 +00:00
# ifndef DEBOUNCER_NOT_H
# define DEBOUNCER_NOT_H
# include <Arduino.h>
# include <inttypes.h>
2016-11-18 10:21:50 +00:00
# include "config_keybrd.h"
# include "DebouncerInterface.h"
2016-07-02 21:10:02 +00:00
/* Debouncer_Not does not debounce.
debounce ( ) returns raw signal , no debouncing is performed .
A keyboard does not need a debouncing if one of the following is true :
* keypad has hardware debouncers
* poling I2C makes scan rate slower than debounce time
* optic switches are used ( because they don ' t bounce )
*/
class Debouncer_Not : public DebouncerInterface
{
public :
virtual read_pins_t debounce ( const read_pins_t rawSignal , read_pins_t & debounced ) ;
} ;
# endif