$search
Public Member Functions | |
def | __init__ |
def | value |
Public Attributes | |
Element | |
pin |
Definition at line 1239 of file element_driver.py.
def src::element_driver::Ping::__init__ | ( | self, | ||
Element, | ||||
pin | ||||
) |
Usage: myPing = Ping(Element, pin) reading = myPing.value() reading = myPing.value(cached=True) # gets value from the cache The Parallax Ping Sonar Sensor class wraps a digital sensor port returns the value from the pping() command which in turn is in inches or cm depending on the units settings.
Definition at line 1240 of file element_driver.py.
def src::element_driver::Ping::value | ( | self, | ||
cached = False | ||||
) |
Definition at line 1250 of file element_driver.py.
Definition at line 1247 of file element_driver.py.
Definition at line 1248 of file element_driver.py.