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(pin_) == LOW;
74
75 return val;
76 }

References pin_.