Removes restler from deps

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Move GPIO constructor to gpio.js

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Fix wrong param to readFile

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Add pin lists

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Allow scaling of read values

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Break out analogRead, digitalRead, analogWrite, digitalWrite into separate methods

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Update tests: analog value scaling

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Update example read programs

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Removed obsolete lines

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Adds test/gpio.js to suite

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Start with a null mode to ensure that pin ports are exported for all initial reads/writes

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Remove unnecessary call to pinMode

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Forced pin unexport -> export on initialization

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Test cleanup

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
v0.0.3

Fully operational on board:
- analog read
- digital read
- digital write

TODO: analog/pwm write
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>