10 #include <util/delay.h> 13 #define BALBOA_32U4_BUTTON_A 14 16 #define BALBOA_32U4_BUTTON_B IO_D5 19 #define BALBOA_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.