Tidied up Texas Instruments library