-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increased button sensitivity using
floor()
- Loading branch information
Showing
2 changed files
with
23 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
|
||
#ifndef constants_h | ||
#define constants_h | ||
#define BT_UP 0 | ||
#define BT_DOWN 1 | ||
#define BT_LEFT 2 | ||
#define BT_RIGHT 3 | ||
#define BT_SELECT 4 | ||
#define BT_TEMP 5 | ||
#define RS 8 | ||
#define EN 9 | ||
#define D4 4 | ||
#define D5 5 | ||
#define D6 6 | ||
#define D7 7 | ||
#define UP 1 | ||
#define DOWN 3 | ||
#define LEFT 5 | ||
#define RIGHT 0 | ||
#define SELECT 7 | ||
#define ANALOG 6 | ||
#define DIGITAL 14 | ||
#endif |
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