From b5b061b679fa3fd239cc85e9824d1e2c443273a2 Mon Sep 17 00:00:00 2001 From: Raspberry Pi Date: Mon, 2 Dec 2019 18:35:39 -0600 Subject: Minor tweaks to PI.py to get working seamlessly with web server - tested and working as expected. Most files touched because permissions were modified to allow PI.py to run on startup. Everything should be ready now. --- System/__init__.py | 0 System/encoder.py | 0 System/homework8.ipynb | 0 System/initialize_system.py | 0 System/motor.py | 0 System/swingUp.py | 0 System/system.py | 0 System/system_swingup_test.py | 0 System/system_swingup_test_2.py | 0 System/test_Encoder.py | 2 +- System/test_Motor.py | 0 System/test_Return_Home.py | 0 System/test_System.py | 0 13 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 System/__init__.py mode change 100644 => 100755 System/encoder.py mode change 100644 => 100755 System/homework8.ipynb mode change 100644 => 100755 System/initialize_system.py mode change 100644 => 100755 System/motor.py mode change 100644 => 100755 System/swingUp.py mode change 100644 => 100755 System/system.py mode change 100644 => 100755 System/system_swingup_test.py mode change 100644 => 100755 System/system_swingup_test_2.py mode change 100644 => 100755 System/test_Encoder.py mode change 100644 => 100755 System/test_Motor.py mode change 100644 => 100755 System/test_Return_Home.py mode change 100644 => 100755 System/test_System.py (limited to 'System') diff --git a/System/__init__.py b/System/__init__.py old mode 100644 new mode 100755 diff --git a/System/encoder.py b/System/encoder.py old mode 100644 new mode 100755 diff --git a/System/homework8.ipynb b/System/homework8.ipynb old mode 100644 new mode 100755 diff --git a/System/initialize_system.py b/System/initialize_system.py old mode 100644 new mode 100755 diff --git a/System/motor.py b/System/motor.py old mode 100644 new mode 100755 diff --git a/System/swingUp.py b/System/swingUp.py old mode 100644 new mode 100755 diff --git a/System/system.py b/System/system.py old mode 100644 new mode 100755 diff --git a/System/system_swingup_test.py b/System/system_swingup_test.py old mode 100644 new mode 100755 diff --git a/System/system_swingup_test_2.py b/System/system_swingup_test_2.py old mode 100644 new mode 100755 diff --git a/System/test_Encoder.py b/System/test_Encoder.py old mode 100644 new mode 100755 index 9a2119a..b667cc1 --- a/System/test_Encoder.py +++ b/System/test_Encoder.py @@ -3,7 +3,7 @@ import time # Decide which pins to hook up to on the Pi before running clk_pin = 2 -cs_pin = 14 +cs_pin = 4 data_pin = 3 e = Encoder(clk_pin, cs_pin, data_pin) diff --git a/System/test_Motor.py b/System/test_Motor.py old mode 100644 new mode 100755 diff --git a/System/test_Return_Home.py b/System/test_Return_Home.py old mode 100644 new mode 100755 diff --git a/System/test_System.py b/System/test_System.py old mode 100644 new mode 100755 -- cgit v1.2.3