10 #include <util/delay.h> 13 #define ROMI_32U4_BUTTON_A 14 18 #define ROMI_32U4_BUTTON_B IO_D5 21 #define ROMI_32U4_BUTTON_C 17
static bool isInputHigh() __attribute__((always_inline))
Reads the input value of the pin.
static void setInputPulledUp() __attribute__((always_inline))
Sets a pin to be a digital input with the internal pull-up resistor enabled.