[hallsensor] refactored measurement code
[hallsensor] added value_broadcast every second