Skip to content

Commit

Permalink
Fix #22 add delay between begin() and read() for N64 controller
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoHood committed Mar 6, 2021
1 parent fb8ae10 commit 4e63a18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/N64API.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ bool CN64Controller::begin(void)
return false;
}

// A small delay is required between begin() and read()
delayMicroseconds(100);

// No error
return true;
}
Expand Down

0 comments on commit 4e63a18

Please sign in to comment.