Inspired by Adafruit's tutorial, code to track room temperature in a MySQL database with a Raspberry Pi