heater.c: expand 8-bit PWM value to full range of PWM