vel = flow_rate * distance
and
flow_rate = delta_x / PMW3901_SAMPLE_INTERVAL.
Regarding the 385 scale factor, it’s given by the manufacturer to convert a register value to a “delta_x” flow.
vel = flow_rate * distance
and
flow_rate = delta_x / PMW3901_SAMPLE_INTERVAL.
Regarding the 385 scale factor, it’s given by the manufacturer to convert a register value to a “delta_x” flow.