Fix PFIO C Library

Fixes:
- LED flashing when initializing PFIO C library
- Incorrect PIN numeration, starting from 1 instead of 0
- Correct PIN input reading, by performing a binary XOR on the read value.
- Adjust README to fit the PIN renumeration.