If the device outputs 10 values per second, and you only want to display/deal with every 10th value, it doesn't seem overly complicated to determine if this value is the 10th value, and so should be used (and the counter reset), or not.
If the device outputs 10 values per second, and you only want to display/deal with every 10th value, it doesn't seem overly complicated to determine if this value is the 10th value, and so should be used (and the counter reset), or not.