Added PWM input monitoring back in; removed unused global in HMC5883 driver