Added temp and pwm types.

Also fixed a bug that occurs when system temps are over max.