added pin map

global pin map now in pins.c. Include pins.c in all files where reading
and writing to pins is required.