10 #include <util/delay.h>
44 virtual bool isPressed()
47 FastGPIO::PinLoan<buttonBPin> loan;
48 FastGPIO::Pin<buttonBPin>::setInputPulledUp();
50 return !FastGPIO::Pin<buttonBPin>::isInputHigh();
71 virtual bool isPressed()
74 FastGPIO::PinLoan<buttonCPin> loan;
75 FastGPIO::Pin<buttonCPin>::setInputPulledUp();
77 return !FastGPIO::Pin<buttonCPin>::isInputHigh();
Top-level namespace for the Pololu3piPlus32U4 library.