diff --git a/compLIB/ADC.py b/compLib/ADC.py similarity index 100% rename from compLIB/ADC.py rename to compLib/ADC.py diff --git a/compLIB/Api.py b/compLib/Api.py similarity index 100% rename from compLIB/Api.py rename to compLib/Api.py diff --git a/compLIB/Battery.py b/compLib/Battery.py similarity index 94% rename from compLIB/Battery.py rename to compLib/Battery.py index 164309b..fd95f1d 100644 --- a/compLIB/Battery.py +++ b/compLib/Battery.py @@ -1,4 +1,4 @@ -from compLIB.ADC import ADC +from compLib.ADC import ADC BATTERY_CHANNEL = 2 BATTERY_COUNT = 2 diff --git a/compLIB/Buzzer.py b/compLib/Buzzer.py similarity index 100% rename from compLIB/Buzzer.py rename to compLib/Buzzer.py diff --git a/compLIB/IRSensor.py b/compLib/IRSensor.py similarity index 98% rename from compLIB/IRSensor.py rename to compLib/IRSensor.py index c56076c..f696ed9 100644 --- a/compLIB/IRSensor.py +++ b/compLib/IRSensor.py @@ -1,6 +1,6 @@ import RPi.GPIO as GPIO -from compLIB.ADC import ADC +from compLib.ADC import ADC TOP_LEFT_CHANNEL = 0 TOP_RIGHT_CHANNEL = 1 diff --git a/compLIB/Motor.py b/compLib/Motor.py similarity index 97% rename from compLIB/Motor.py rename to compLib/Motor.py index 5d29f7b..bdff928 100644 --- a/compLIB/Motor.py +++ b/compLib/Motor.py @@ -1,6 +1,6 @@ import atexit -from compLIB.PCA9685 import PCA9685 +from compLib.PCA9685 import PCA9685 pwm = PCA9685(0x40, debug=True) pwm.setPWMFreq(50) diff --git a/compLIB/PCA9685.py b/compLib/PCA9685.py similarity index 100% rename from compLIB/PCA9685.py rename to compLib/PCA9685.py diff --git a/compLIB/Servo.py b/compLib/Servo.py similarity index 95% rename from compLIB/Servo.py rename to compLib/Servo.py index c7674bb..d4a0d58 100644 --- a/compLIB/Servo.py +++ b/compLib/Servo.py @@ -1,4 +1,4 @@ -from compLIB.PCA9685 import PCA9685 +from compLib.PCA9685 import PCA9685 pwm = PCA9685(0x40, debug=True) pwm.setPWMFreq(50) diff --git a/compLIB/Ultrasound.py b/compLib/Ultrasound.py similarity index 100% rename from compLIB/Ultrasound.py rename to compLib/Ultrasound.py diff --git a/compLIB/__init__.py b/compLib/__init__.py similarity index 100% rename from compLIB/__init__.py rename to compLib/__init__.py diff --git a/docs/source/conf.py b/docs/source/conf.py index 66a39ca..35a3f76 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -35,7 +35,7 @@ extensions = [ 'sphinx_rtd_theme' ] -autodoc_mock_imports = ["smbus", "compLIB.PCA9685", "RPi"] +autodoc_mock_imports = ["smbus", "compLib.PCA9685", "RPi"] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']