add some functions for the digital pot
added functions for temp <=> resistence
Add some constants / remove magic numbers