FastLED 3.9.15
Loading...
Searching...
No Matches

◆ Read()

bool MidiShieldButton::Read ( )
inline

Definition at line 71 of file buttons.h.

71 {
72 // Toggle the pin back to INPUT and take a reading.
73 int val = digitalRead(mPin) == LOW;
74
75 return val;
76 }
PinValue digitalRead(int pin)
Read digital value from pin.
Definition pin.cpp.hpp:55

References mPin.