Beagle Board - beagleboard.org
Not Connected
Did you know? This page can interact with your BeagleBone
Type in your BeagleBone's IP address here:

shiftOut(dataPin, clockPin, bitOrder, val, [callback])

Note: This doesn't work until BoneScript version 0.2.3

Shift a byte out to a digital I/O pin clocking it with another digital I/O pin.

Arguments

  • dataPin: the pin for the serial data
  • clockPin: the pin for the clock
  • bitOrder: b.MSBFIRST or b.LSBFIRST
  • val: the byte to be written
  • callback: called upon completion

Return value

callback(x)

  • x.err: error status message

Example

X

Build and execute instructions

  • TBD

See also

Topics

Related functions


Last updated by jkridner on Mon Aug 19 2013 04:22:44 GMT-0000 (UTC).
12161