Added host information

This commit is contained in:
2025-09-23 22:08:46 +02:00
parent 11272106b7
commit 697e68a97e
2 changed files with 4 additions and 4 deletions

3
host.txt Normal file
View File

@@ -0,0 +1,3 @@
Local addresses
inet 169.254.217.237/16
inet6 fe80::d89b:cecc:9c55:e1c3/64

View File

@@ -2,9 +2,6 @@ import RPi.GPIO as GPIO
import time import time
import os import os
# ----------------------------
# GPIO setup
# ----------------------------
GPIO.setmode(GPIO.BCM) GPIO.setmode(GPIO.BCM)
# Servo pins # Servo pins
@@ -14,7 +11,7 @@ SERVO2_PIN = 18
# Buttons # Buttons
BUTTON1_FWD = 5 # Motor1 forward BUTTON1_FWD = 5 # Motor1 forward
BUTTON1_BWD = 6 # Motor1 backward BUTTON1_BWD = 6 # Motor1 backward
BUTTON2_FWD = 17 # Motor2 forward BUTTON2_FWD = 17 # Motor2 forward
BUTTON2_BWD = 27 # Motor2 backward BUTTON2_BWD = 27 # Motor2 backward
SHUTDOWN_BTN = 26 # Shutdown button SHUTDOWN_BTN = 26 # Shutdown button