AStar32U4 library
Classes | Macros
AStar32U4Buttons.h File Reference
#include <Pushbutton.h>
#include <FastGPIO.h>
#include <USBPause.h>
#include <SPIPause.h>
#include <util/delay.h>

Go to the source code of this file.

Classes

class  AStar32U4ButtonA
 Interfaces with button A. More...
 
class  AStar32U4ButtonB
 Interfaces with button B. More...
 
class  AStar32U4ButtonC
 Interfaces with button C. More...
 

Macros

#define A_STAR_32U4_BUTTON_A   14
 
#define A_STAR_32U4_BUTTON_B   IO_D5
 
#define A_STAR_32U4_BUTTON_C   17
 

Macro Definition Documentation

◆ A_STAR_32U4_BUTTON_A

#define A_STAR_32U4_BUTTON_A   14

The pin number for the pin connected to button A.

Definition at line 14 of file AStar32U4Buttons.h.

◆ A_STAR_32U4_BUTTON_B

#define A_STAR_32U4_BUTTON_B   IO_D5

The pin number for the pin connected to button B. 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 20 of file AStar32U4Buttons.h.

◆ A_STAR_32U4_BUTTON_C

#define A_STAR_32U4_BUTTON_C   17

The pin number for the pin connected to button C.

Definition at line 23 of file AStar32U4Buttons.h.