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

◆ MidiShieldButton()

MidiShieldButton::MidiShieldButton ( int pin)
inline

Definition at line 66 of file buttons.h.

66 : mPin(pin) {
67 pinMode(mPin, INPUT_PULLUP);
68 fl::delay(1);
69 }
void delay(u32 ms, bool run_async=true) FL_NOEXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...
Definition delay.h:98
void pinMode(int pin, PinMode mode)
Set pin mode (input, output, pull-up, pull-down)
Definition pin.cpp.hpp:378

References fl::delay(), and mPin.

+ Here is the call graph for this function: