MCPcopy Create free account
hub / github.com/SlimeVR/SlimeVR-Tracker-ESP / digitalRead

Method digitalRead

src/sensorinterface/DirectPinInterface.cpp:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23#include "DirectPinInterface.h"
24
25int DirectPinInterface::digitalRead() { return ::digitalRead(_pinNum); }
26
27void DirectPinInterface::pinMode(uint8_t mode) { ::pinMode(_pinNum, mode); }
28

Callers 3

getReadingsMethod · 0.45
waitForSPIMethod · 0.45
receivePacketMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected