You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+39-17Lines changed: 39 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,33 @@
1
-
# gpio - talk to your Raspberry Pi's gpio headers
1
+
# gpio - talk to your Single Board Computer's gpio headers
2
2
3
-
* demo using LED: http://www.youtube.com/watch?v=2Juo-CJ6eu4
4
-
* demo using RC car: http://www.youtube.com/watch?v=klQdX8-YVaI
5
3
4
+
## Introduction
6
5
7
-
## Important note
8
-
I haven't maintained this project for a while now, and it's unlikely I will provide any updates going forward given other more mature gpio libraries out there. If you're looking for a reliable way to communicate with the raspberry pi in JavaScript, check out the [wiring-pi JavaScript library](https://www.npmjs.com/package/wiring-pi). It provides direct bindings to the fully-featured [Wiring Pi C library](http://wiringpi.com/).
6
+
This plain JavaScript module is generic and only rely on system's *sysfs*.
7
+
8
+
Please consider other (more mature) gpio libraries out there which support better your hardware,
9
+
10
+
For instance, of you're looking for a reliable way to communicate with the Raspberry Pi using JavaScript,
11
+
check out the [wiring-pi JavaScript library](https://www.npmjs.com/package/wiring-pi).
12
+
It provides direct bindings to the fully-featured [Wiring Pi C library](http://wiringpi.com/).
13
+
14
+
But if you want/need a generic lightweight module, this one can be used as fallback.
15
+
16
+
## Support
17
+
18
+
Following hardware was reported to work (with some limitations or workarounds)
19
+
20
+
* ARTIK10 (inputs' pull down resistors are enabled by default)
21
+
* Raspberry Pi (use wiringpi's /usr/bin/gpio to change mode: gpio -g mode 11 up)
9
22
10
-
---
11
23
12
24
## Installation
13
-
##### Get node.js on your Raspberry Pi
14
-
On Raspbian, you can simply run `apt-get install nodejs`,
0 commit comments