From 4ee2be89541a0470d98dcd7486880734008f5927 Mon Sep 17 00:00:00 2001 From: George_Andreou Date: Thu, 12 Jun 2025 15:02:29 +0300 Subject: [PATCH] Update sensortest.py --- sensortest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensortest.py b/sensortest.py index b8726c4..266ea94 100644 --- a/sensortest.py +++ b/sensortest.py @@ -5,7 +5,7 @@ import adafruit_hcsr04 # Set the sensor pins front = adafruit_hcsr04.HCSR04(trigger_pin=board.D12, echo_pin=board.D13) right = adafruit_hcsr04.HCSR04(trigger_pin=board.D10, echo_pin=board.D11) -left = adafruit_hcsr04.HCSR04(trigger_pin=board.D8, echo_pin=board.D9) +left = adafruit_hcsr04.HCSR04(trigger_pin=board.D6, echo_pin=board.D9) while True: try: