Added host information
This commit is contained in:
3
host.txt
Normal file
3
host.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
Local addresses
|
||||
inet 169.254.217.237/16
|
||||
inet6 fe80::d89b:cecc:9c55:e1c3/64
|
||||
5
motor.py
5
motor.py
@@ -2,9 +2,6 @@ import RPi.GPIO as GPIO
|
||||
import time
|
||||
import os
|
||||
|
||||
# ----------------------------
|
||||
# GPIO setup
|
||||
# ----------------------------
|
||||
GPIO.setmode(GPIO.BCM)
|
||||
|
||||
# Servo pins
|
||||
@@ -14,7 +11,7 @@ SERVO2_PIN = 18
|
||||
# Buttons
|
||||
BUTTON1_FWD = 5 # Motor1 forward
|
||||
BUTTON1_BWD = 6 # Motor1 backward
|
||||
BUTTON2_FWD = 17 # Motor2 forward
|
||||
BUTTON2_FWD = 17 # Motor2 forward
|
||||
BUTTON2_BWD = 27 # Motor2 backward
|
||||
SHUTDOWN_BTN = 26 # Shutdown button
|
||||
|
||||
|
||||
Reference in New Issue
Block a user