Update encoder_sensor.h