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

getPinMode(pin, [callback])

Get the mode of a pin.

Arguments

Return value

  • mux: index of mux mode
  • options: array of mode names
  • slew: 'fast' or 'slow'
  • rx: 'enabled' or 'disabled'
  • pullup: 'diabled', 'pullup' or 'pulldown'
  • pin: key string for pin
  • name: pin name
  • err: error status message

callback(x)

  • x: return value

Example

X

Build and execute instructions

  • Check out some of the other examples to see and verify getPinMode functionality.

See also

Topics

Related functions


Last updated by jkridner on Wed Jun 26 2013 13:25:14 GMT-0000 (UTC).
14757