Update folkrace.py
This commit is contained in:
parent
4ee2be8954
commit
04552995d7
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ m4 = kit.motor4
|
|||
# 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)
|
||||
|
||||
def forward():
|
||||
m1.throttle = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue