Zumo32U4 library
Classes | Macros
Zumo32U4Buttons.h File Reference
#include <Pushbutton.h>
#include <FastGPIO.h>
#include <USBPause.h>
#include <util/delay.h>

Go to the source code of this file.

Classes

class  Zumo32U4ButtonA
 Interfaces with button A on the Zumo 32U4. More...
 
class  Zumo32U4ButtonB
 Interfaces with button B on the Zumo 32U4. More...
 
class  Zumo32U4ButtonC
 Interfaces with button C on the Zumo 32U4. More...
 

Macros

#define ZUMO_32U4_BUTTON_A   14
 
#define ZUMO_32U4_BUTTON_B   IO_D5
 
#define ZUMO_32U4_BUTTON_C   17
 

Macro Definition Documentation

◆ ZUMO_32U4_BUTTON_A

#define ZUMO_32U4_BUTTON_A   14

The pin number for the pin connected to button A on the Zumo 32U4.

Definition at line 13 of file Zumo32U4Buttons.h.

◆ ZUMO_32U4_BUTTON_B

#define ZUMO_32U4_BUTTON_B   IO_D5

The pin number for the pin connected to button B on the Zumo 32U4. Note that this is not an official Arduino pin number so it cannot be used with functions like digitalRead, but it can be used with the FastGPIO library.

Definition at line 18 of file Zumo32U4Buttons.h.

◆ ZUMO_32U4_BUTTON_C

#define ZUMO_32U4_BUTTON_C   17

The pin number for the pin conencted to button C on the Zumo 32U4.

Definition at line 21 of file Zumo32U4Buttons.h.