intval3/lib/intval
mmcwilliams 32affb1b72 Use PINS configuration object to initialize pins
TODO: Separate into file, automatically switching out for different
models
2017-09-19 15:06:34 -04:00
..
Readme.md Document intval lib 2017-09-18 20:46:18 -04:00
index.js Use PINS configuration object to initialize pins 2017-09-19 15:06:34 -04:00

Readme.md

Intval

Class representing the intval3 features

Kind: global class

intval._declarePins()

Intval._declarePins() - (internal function) Declares all Gpio pins that will be used

Kind: instance method of Intval

intval._undeclarePins()

Intval._undeclarePins() - (internal function) Undeclares all Gpio in event of uncaught error that interupts the node process

Kind: instance method of Intval

intval._startFwd()

Intval._startFwd() - Start motor in forward direction by setting correct pins in h-bridge

Kind: instance method of Intval

intval._startBwd()

Intval._startBwd() - Start motor in backward direction by setting correct pins in h-bridge

Kind: instance method of Intval

intval._stop()

Intval._stop() - Stop motor by setting both motor pins to 0 (LOW)

Kind: instance method of Intval

intval.frame(dir, time, delay)

Intval.frame() - Begin a single frame with set variables or defaults

Kind: instance method of Intval

Param Type Default Description
dir boolean (optional) Direction of the frame
time integer (optional) Exposure time, 0 = minimum
delay delay (optional) Delay after frame before another can be started