Skip to content

Commit

Permalink
Bug fixes, improved 4 button detection, plunger min stored in EEPROM.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerware committed May 17, 2019
1 parent 85ccd72 commit b048d63
Show file tree
Hide file tree
Showing 4 changed files with 2,961 additions and 2,884 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,20 @@ I have included compiled code that can be installed on a Teensy LC using the [Te
#### OPTIONS OVERVIEW:

* BACK + LEFT FLIPPER: Home analog plunger (if installed)
* BACK + RIGHT FLIPPER: Home/Zero accelerometer
* BACK + JOYSTICK DOWN: Joystick controls D-PAD (default)
* BACK + JOYSTICK UP: Joystick controls left analog stick
* BACK + JOYSTICK LEFT: L1 & R1 flippers (default)
* BACK + JOYSTICK RIGHT: L2 & R2 flippers

Note: If installed, you MUST calibrate the analog plunger range at least once by holding down "A" when plugging in the USB cable. LED-1 should flash rapidly, and then you should pull the plunger all the way out and release it all the way back in. The LED1 should flash again, and normal operation resumes. The setting is saved between power cycles.

#### New features added 05/16/2019:

* Accelerometer is only zeroed the first time START is pressed, not every time. To zero it again, use the new BACK + RIGHT FLIPPER button combo.
* Plunger base position is now stored between power cycles. You will need to recalibrate the plunger once if upgrading to this firmware by holding A when plugging in the USB cable.
* Auto-detection of four button mode has been improved (avoid false positives).

#### New features added 12/19/2018:

* Four flipper button support. You can connect a second pair of flipper buttons to GPIO 13 & 14 (Left and Right, respectively) which will map to analog L2/R2 100%. The system will try to autodetect if GPIO 13/14 are connected to double contact or individual switches based on whether GPIO 13/14 are ever pressed *without* FLIP_L or FLIP_R being pressed (not possible on double contact switches).
Expand Down
Loading

1 comment on commit b048d63

@rgby12
Copy link

@rgby12 rgby12 commented on b048d63 May 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The accelerometer keeps failing/not reading . I've tried 2 different pinsims and eventually the same thing happens.

Please sign in to comment.