I know THIS LINK is for the LM34, but it is a nicely written example.