Fixed pin reading and writing I hope.