MCPcopy Create free account
hub / github.com/OpenEarable/open-earable / Button

Method Button

src/button_service/Button.cpp:3–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "Button.h"
2
3Button::Button(int pin) {
4 _pin = pin;
5}
6
7void Button::begin() {
8 pinMode(_pin, INPUT);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected