Skip to content

Commit

Permalink
3.0.1
Browse files Browse the repository at this point in the history
A new version that tests not only buttons but also joysticks.
Fixed a bug with a freeze at the start of the test.
  • Loading branch information
cakama3a committed Aug 15, 2024
1 parent 9187a66 commit 16ca649
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Arduino.ino
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// 3.0.1
int buttonPin; // Variable to store the pin number for the button

void setup() {
Expand Down
8 changes: 4 additions & 4 deletions GPDL.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@

# Add a 3-second delay
print("\nPreparing to choose test type...")
print("\033[33mAttention:\033[0m Do not mix up the modes, otherwise you may damage the gamepad.")
time.sleep(3)

# Prompt user to select test type (Button test or Stick test)
print(" ")
print("Choose test type:")
print("\033[33mAttention:\033[0m Do not mix up the modes, otherwise you may damage the gamepad.")
test_type = input("1 for Button test, 2 for Stick test: ")
print("1 - BUTTON test")
print("2 - STICK test")
test_type = input("Enter test type: ")

# Set variables based on selected test type
if test_type == '1':
Expand Down

0 comments on commit 16ca649

Please sign in to comment.