gp2y0a41-range-meter

xod/common-hardware/gp2y0a41-range-meter

Reads Sharp infrared range meter GP2Y0A41SK0F (the one with 4…30 cm range).
gp2y0a41-range-meter
@/gp2y0a41-range-meter
Reads Sharp infrared range meter GP2Y0A41SK0F (the one with 4…30 cm range).
PORTport
Board port number the sensor is connected to.
UPDpulse
Triggers an update, i.e. reading values again.
gp2y0a41-range-meter
PORTPORTUPDUPDDmDmDONEDONEERRERR
ERRpulse
Fires if reading failed
DONEpulse
Fires when reading is done
Dmnumber
Measured distance in meters. Trustworhy only for distances in [0.04, 0.30] meters range.