The HR-SC05 is not an analog sensor. You trigger it with the Trigger pin and use pulseIn() to measure the pulse length on the Echo pin. This uses two DIGITAL pins (one output and one input) but no analog input pins.
The HR-SC05 is not an analog sensor. You trigger it with the Trigger pin and use pulseIn() to measure the pulse length on the Echo pin. This uses two DIGITAL pins (one output and one input) but no analog input pins.