-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
395 additions
and
340 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,21 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2017 ZulNs | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
MIT License | ||
Copyright (c) 2017 ZulNs | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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 |
---|---|---|
|
@@ -355,4 +355,4 @@ byte getAlphabet(byte chr, byte ctr) { | |
} | ||
return alpha; | ||
} | ||
|
||
|
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 |
---|---|---|
|
@@ -97,4 +97,4 @@ void loop() { | |
lcd.setCursor( 0, 1 ); | ||
lcd.print( F( " " ) ); | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -76,4 +76,4 @@ void loop() { | |
case KEY_UP: | ||
Serial.println( F( " up" ) ); | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -366,4 +366,4 @@ byte getAlphabet( byte chr, byte ctr ) { | |
} | ||
return alpha; | ||
} | ||
|
||
|
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,50 +1,52 @@ | ||
####################################### | ||
# Syntax Coloring Map Keypad | ||
####################################### | ||
|
||
####################################### | ||
# Datatypes (KEYWORD1) | ||
####################################### | ||
MultitapKeypad KEYWORD1 | ||
Key KEYWORD1 | ||
|
||
####################################### | ||
# Methods and Functions (KEYWORD2) | ||
####################################### | ||
getKey KEYWORD2 | ||
resetTapCounter KEYWORD2 | ||
attachFunction KEYWORD2 | ||
code KEYWORD2 | ||
character KEYWORD2 | ||
lastCode KEYWORD2 | ||
beforeLastCode KEYWORD2 | ||
tapCounter KEYWORD2 | ||
state KEYWORD2 | ||
|
||
####################################### | ||
# Constants (LITERAL1) | ||
####################################### | ||
KEY_CODE LITERAL1 | ||
NO_KEY LITERAL1 | ||
KEY_1 LITERAL1 | ||
KEY_2 LITERAL1 | ||
KEY_3 LITERAL1 | ||
KEY_A LITERAL1 | ||
KEY_4 LITERAL1 | ||
KEY_5 LITERAL1 | ||
KEY_6 LITERAL1 | ||
KEY_B LITERAL1 | ||
KEY_7 LITERAL1 | ||
KEY_8 LITERAL1 | ||
KEY_9 LITERAL1 | ||
KEY_C LITERAL1 | ||
KEY_ASTERISK LITERAL1 | ||
KEY_0 LITERAL1 | ||
KEY_NUMBER_SIGN LITERAL1 | ||
KEY_D LITERAL1 | ||
KEY_STATE LITERAL1 | ||
KEY_DOWN LITERAL1 | ||
MULTI_TAP LITERAL1 | ||
LONG_TAP LITERAL1 | ||
MULTI_KEY_DOWN LITERAL1 | ||
KEY_UP LITERAL1 | ||
####################################### | ||
# Syntax Coloring Map Keypad | ||
####################################### | ||
|
||
####################################### | ||
# Datatypes (KEYWORD1) | ||
####################################### | ||
MultitapKeypad KEYWORD1 | ||
Key KEYWORD1 | ||
|
||
####################################### | ||
# Methods and Functions (KEYWORD2) | ||
####################################### | ||
getKey KEYWORD2 | ||
resetTapCounter KEYWORD2 | ||
attachFunction KEYWORD2 | ||
code KEYWORD2 | ||
character KEYWORD2 | ||
lastCode KEYWORD2 | ||
beforeLastCode KEYWORD2 | ||
tapCounter KEYWORD2 | ||
state KEYWORD2 | ||
isCanceled KEYWORD2 | ||
|
||
####################################### | ||
# Constants (LITERAL1) | ||
####################################### | ||
KEY_CODE LITERAL1 | ||
NO_KEY LITERAL1 | ||
KEY_1 LITERAL1 | ||
KEY_2 LITERAL1 | ||
KEY_3 LITERAL1 | ||
KEY_A LITERAL1 | ||
KEY_4 LITERAL1 | ||
KEY_5 LITERAL1 | ||
KEY_6 LITERAL1 | ||
KEY_B LITERAL1 | ||
KEY_7 LITERAL1 | ||
KEY_8 LITERAL1 | ||
KEY_9 LITERAL1 | ||
KEY_C LITERAL1 | ||
KEY_ASTERISK LITERAL1 | ||
KEY_0 LITERAL1 | ||
KEY_NUMBER_SIGN LITERAL1 | ||
KEY_D LITERAL1 | ||
KEY_STATE LITERAL1 | ||
KEY_DOWN LITERAL1 | ||
MULTI_TAP LITERAL1 | ||
LONG_TAP LITERAL1 | ||
MULTI_KEY_DOWN LITERAL1 | ||
KEY_UP LITERAL1 | ||
CANCELED LITERAL1 |
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,15 +1,15 @@ | ||
{ | ||
"name": "MultitapKeypad", | ||
"keywords": "Keypad, multi-tap, long-tap", | ||
"description": "A library (driver) for matrix 4x3 or 4x4 keypad supports multi-tap and long-tap.", | ||
"repository": | ||
{ | ||
"type": "git", | ||
"url": "https://github.com/ZulNs/MultitapKeypad.git" | ||
}, | ||
"frameworks": "arduino", | ||
"platforms": | ||
[ | ||
"atmelavr" | ||
] | ||
{ | ||
"name": "MultitapKeypad", | ||
"keywords": "Keypad, multi-tap, long-tap", | ||
"description": "A library (driver) for matrix 4x3 or 4x4 keypad supports multi-tap and long-tap.", | ||
"repository": | ||
{ | ||
"type": "git", | ||
"url": "https://github.com/ZulNs/MultitapKeypad.git" | ||
}, | ||
"frameworks": "arduino", | ||
"platforms": | ||
[ | ||
"atmelavr" | ||
] | ||
} |
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,9 +1,9 @@ | ||
name=MultitapKeypad | ||
version=1.0.2 | ||
author=ZulNs | ||
maintainer=ZulNs <zul.nasibu@gmail.com> | ||
sentence=A library (driver) for matrix 4x3 or 4x4 keypad supports multi-tap and long-tap. | ||
paragraph= The library allows to interface with matrix 4x3 phone's keypad as well as matrix 4x4 keypad, supports multi-tap/long-tap states to simplify implement of customizable access to all characters (upper and lower cases), numbers and symbols. | ||
category=Sensors | ||
url=https://github.com/ZulNs/MultitapKeypad | ||
architectures=avr | ||
name=MultitapKeypad | ||
version=1.1.0 | ||
author=ZulNs | ||
maintainer=ZulNs <zul.nasibu@gmail.com> | ||
sentence=A library (driver) for matrix 4x3 or 4x4 keypad supports multi-tap and long-tap. | ||
paragraph= The library allows to interface with matrix 4x3 phone's keypad as well as matrix 4x4 keypad, supports multi-tap/long-tap states to simplify implement of customizable access to all characters (upper and lower cases), numbers and symbols. | ||
category=Sensors | ||
url=https://github.com/ZulNs/MultitapKeypad | ||
architectures=avr |
Oops, something went wrong.