
Did you know? This page can interact with your BeagleBone
Type in your BeagleBone's IP address here:
Type in your BeagleBone's IP address here:
getPinMode(pin, [callback])
Get the mode of a pin.
Arguments
- pin: the BeagleBone pin identifier
- callback: called upon completion
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
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).