Mutila: Mouse's Utilities for Arduino
Oft-used utilities: debouncing buttons, averaging samples, and so on.
src
AbstractButton.h
1
#pragma once
2
3
#include <stdint.h>
4
10
class
AbstractButton
{
11
public
:
14
AbstractButton
() {;}
15
23
virtual
void
begin
() {;}
24
29
virtual
bool
on
() = 0;
30
31
};
32
33
AbstractButton::AbstractButton
AbstractButton()
Definition:
AbstractButton.h:14
AbstractButton
Definition:
AbstractButton.h:10
AbstractButton::begin
virtual void begin()
Definition:
AbstractButton.h:23
AbstractButton::on
virtual bool on()=0
Generated by
1.8.15