Raspberry Pi temperature code

From http://playground.arduino.cc/ComponentLib/Thermistor
and

http://blog.retep.org/2014/02/15/connecting-an-arduino-to-a-raspberry-pi-using-i2c/

and

https://www.google.co.uk/search?q=raspberry+pi+arduino+i2c&hl=en&rlz=1I7SNYS_en&tbm=isch&imgil=F421mBVX561R7M%253A%253BfZ4vskaOEH4F3M%253Bhttp%25253A%25252F%25252Fblog.oscarliang.net%25252Fraspberry-pi-arduino-connected-i2c%25252F&source=iu&usg=__4kbti9YIqjtfkVXKXCqGF4WXNnU%3D&sa=X&ei=aVXbU77eDsbG0QXM0oGoBw&ved=0CCQQ9QEwAA&biw=1228&bih=606#facrc=_&imgdii=_&imgrc=F421mBVX561R7M%253A%3BfZ4vskaOEH4F3M%3Bhttp%253A%252F%252Fblog.oscarliang.net%252Fwp-content%252Fuploads%252F2013%252F05%252FRaspberryPI-I2c-Arduino.png%3Bhttp%253A%252F%252Fblog.oscarliang.net%252Fraspberry-pi-arduino-connected-i2c%252F%3B600%3B782