pinpattern code removed as not compatible with new concept of any pin can be an input or output