changed datatypes in lib ADS7841