Fixed off by one error in pressed array

#defines give meaning to constant values