inverted pin states so that we can use memset to initialize. Saves 36 bytes.