MCPcopy Create free account
hub / github.com/GreyGnome/EnableInterrupt / init

Method init

examples/SimpleWithLibrary/Useless.cpp:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11void UselessClass::init(uint8_t pin, uint8_t mode) {
12 pinMode(pin, INPUT_PULLUP);
13 enableInterrupt(pin, uselessFunction, mode);
14}
15
16uint8_t UselessClass::getUselessVariable() {
17 return uselessVariable;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected