Fix bug with endian of config, and add fahrenheit to example.