trivial pwm value setting over xbee
fix off-by-one error
the scaling fails