11 #include <util/delay.h> 14 #define A_STAR_32U4_BUTTON_A 14 20 #define A_STAR_32U4_BUTTON_B IO_D5 23 #define A_STAR_32U4_BUTTON_C 17 static bool isInputHigh() __attribute__((always_inline))
Reads the input value of the pin.
static void setInput() __attribute__((always_inline))
Sets a pin to be a digital input with the internal pull-up resistor disabled.