get ms5803 read to work, cleanup code