Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nakkaya/ferret-arduino-keypad
https://github.com/nakkaya/ferret-arduino-keypad
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/nakkaya/ferret-arduino-keypad
- Owner: nakkaya
- Created: 2018-06-29T11:09:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-29T11:09:55.000Z (over 6 years ago)
- Last Synced: 2024-10-14T08:13:33.853Z (3 months ago)
- Language: Clojure
- Size: 1000 Bytes
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ferret-arduino-keypad
===============Wrapper for the Arduino keypad library.
#### Dependencies
- Keypad Library for Arduino - `http://playground.arduino.cc/Code/Keypad`
Available via Arduino library manager.
#### Usage
(require '[ferret-arduino-keypad.core :as keypad])
(def input (keypad/device
[[\1 \2 \3 \A] ;; Keypad Layout
[\4 \5 \6 \B]
[\7 \8 \9 \C]
[\# \0 \* \D]]
[22 23 24 25] ;; Row Pins
[26 27 28 29])) ;; Col Pins(forever
(println (keypad/wait-key input)))