Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
ioridev committed Feb 21, 2024
1 parent 3d8c5fd commit 2efb5b2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/PrecisionFightingBoard.ino
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,30 @@ const int Pin_ButtonXbox = 4;
const int Pin_TriggerL = 14;
const int Pin_TriggerR = 15;

Bounce debouncerA = Bounce();
Bounce debouncerB = Bounce();
Bounce debouncerX = Bounce();
Bounce debouncerY = Bounce();

Bounce debouncerLB = Bounce();
Bounce debouncerRB = Bounce();

Bounce debouncerBack = Bounce();
Bounce debouncerStart = Bounce();

Bounce debouncerL3 = Bounce();
Bounce debouncerR3 = Bounce();

Bounce debouncerDpadUp = Bounce();
Bounce debouncerDpadDown = Bounce();
Bounce debouncerDpadLeft = Bounce();
Bounce debouncerDpadRight = Bounce();

Bounce debouncerTriggerL = Bounce();
Bounce debouncerTriggerR = Bounce();

Bounce debouncerXbox = Bounce();

void setup()
{
pinMode(Pin_ButtonA, INPUT_PULLUP);
Expand Down

0 comments on commit 2efb5b2

Please sign in to comment.