Public Member Functions | |
def | convert |
Static Public Attributes | |
float | max_range = 1.50 |
float | min_range = 0.20 |
Definition at line 54 of file sensors.py.
def sensors.gpA02YK.convert | ( | self, | |
raw | |||
) |
Convert raw analog (10-bit) to distance.
Reimplemented from sensors.SharpIR.
Definition at line 58 of file sensors.py.
float sensors.gpA02YK::max_range = 1.50 [static] |
Reimplemented from sensors.SharpIR.
Definition at line 56 of file sensors.py.
float sensors.gpA02YK::min_range = 0.20 [static] |
Reimplemented from sensors.SharpIR.
Definition at line 55 of file sensors.py.