-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use pullup with ps2 logic, except when PSU is off (#41)
* GPIO library: Add dedicated inputWithPullup/driveLow, for PS2 This is to simplify toggling between the two meaningful states: Input with pullup, and output driving low. This is particularly useful for PS2, which is open collector logic, requiring a strong pullup. The external 4.7k pullup is not always strong enough, but together with the 20-50k additional internal pullup, it handles all known keyboards. * Use the new inputWithPullup/driveLow functions in PS2 logic * Disable PS2 pullup when power supply is off This is to prevent trying to power the keyboard via the PS2 ports when the power supply is off. * Bump version to 47.2.1
- Loading branch information
Showing
5 changed files
with
91 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#define version_major 47 | ||
#define version_minor 2 | ||
#define version_patch 0 | ||
#define version_patch 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters