Zumo32U4 library
Public Member Functions | List of all members
Zumo32U4ButtonC Class Reference

Interfaces with button C on the Zumo 32U4. More...

#include <Zumo32U4Buttons.h>

Inheritance diagram for Zumo32U4ButtonC:

Public Member Functions

virtual bool isPressed ()
void waitForPress ()
void waitForRelease ()
void waitForButton ()
bool getSingleDebouncedPress ()
bool getSingleDebouncedRelease ()

Detailed Description

Interfaces with button C on the Zumo 32U4.

The pin used for button C is also used for the RX LED.

This class temporarily disables USB interrupts because the Arduino core code has USB interrupts enabled that sometimes write to the pin this button is on.

This class temporarily sets the pin to be an input without a pull-up resistor. The pull-up resistor is not needed because of the resistors on the board.

Definition at line 66 of file Zumo32U4Buttons.h.

The documentation for this class was generated from the following file: