Skip to content

Sensor Reading Pattern

Knowledge check · self-test

Sensor Reading Pattern

A robust read checks whether a value is valid before using it. A moving average can smooth noise, but it also delays a response to a real change.

Back to the chapter →

A robust read checks whether a value is valid before using it. A moving average can smooth noise, but it also delays a response to a real change.

Back to Reference: IoT Code Pattern Library: Code Snippet Library