Returns an error corrected distance by using the median reading of a sorted sample. NOTE - The default sample size is 11 readings.

This module supports BCM and BOARD pin values but uses BCM by default. See the Raspberry Pi pin layout documentation for your model.