Romi32U4 library
Classes | Macros
Romi32U4Buttons.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  Romi32U4ButtonA
 Interfaces with button A on the Romi 32U4. More...
 
class  Romi32U4ButtonB
 Interfaces with button B on the Romi 32U4. More...
 
class  Romi32U4ButtonC
 Interfaces with button C on the Romi 32U4. More...
 

Macros

#define ROMI_32U4_BUTTON_A   14
 
#define ROMI_32U4_BUTTON_B   IO_D5
 
#define ROMI_32U4_BUTTON_C   17
 

Macro Definition Documentation

◆ ROMI_32U4_BUTTON_A

#define ROMI_32U4_BUTTON_A   14

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

Definition at line 13 of file Romi32U4Buttons.h.

◆ ROMI_32U4_BUTTON_B

#define ROMI_32U4_BUTTON_B   IO_D5

The pin number for the pin connected to button B on the Romi 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 Romi32U4Buttons.h.

◆ ROMI_32U4_BUTTON_C

#define ROMI_32U4_BUTTON_C   17

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

Definition at line 21 of file Romi32U4Buttons.h.