The function initializes the ultrasonic sensor using the selected echo and trig pins.
connectultrasonic()
Function Definition: connectultrasonic(echo_pin, trig_pin)
- Python Library: Sensors (Quarky Intellio)
- Library Import: intellio = QuarkyIntellio()
- Mode: Stage Mode, Upload Mode
Parameters
| Name | Type | Description | Expected Values | Default Value |
|---|---|---|---|---|
| echo_pin, trig_pin | int | The function initializes the ultrasonic sensor using the selected echo and trig pins. | echo_pin, trig_pin |
Description
Example
There are no examples documented for this article.
