bonescript
Version:
Physical computing library for embedded Linux
14 lines • 356 B
JavaScript
// Copyright (C) 2013 - Texas Instruments, Jason Kridner
module.exports = {
OUTPUT: "out",
INPUT: "in",
INPUT_PULLUP: "in_pullup",
HIGH: 1,
LOW: 0,
LSBFIRST: 1, // used in: shiftOut(dataPin, clockPin, bitOrder, val)
MSBFIRST: 0,
CHANGE: "both",
RISING: "rising",
FALLING: "falling",
ANALOG_OUTPUT: "analog_out"
}