add my mods to temperature.cpp and configuration for pwm stuff

Added option to configuration and temperature to allow choice between
hardware pwm and software pwm