added pin direction constants

add DIRECTION_IN and DIRECTION_OUT constants to the class
should help with auto-complete