Skip to content

Commit a6de1bd

Browse files
authored
Renamed leads_raspberry_pi to leads_gpio. (#303) (#318)
1 parent 749a36b commit a6de1bd

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

leads_raspberry_pi/__init__.py leads_gpio/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
if not _find_spec("serial"):
88
raise ImportError("Please install `pyserial` to run this module\n>>>pip install pyserial")
99

10-
from leads_raspberry_pi.gps_receiver import *
11-
from leads_raspberry_pi.led import *
12-
from leads_raspberry_pi.led_group import *
10+
from leads_gpio.gps_receiver import *
11+
from leads_gpio.led import *
12+
from leads_gpio.led_group import *
File renamed without changes.
File renamed without changes.

leads_raspberry_pi/led_group.py leads_gpio/led_group.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
from typing import override as _override
66

77
from leads import Device as _Device
8-
from leads_raspberry_pi.led import LED, LEDCommand
9-
from leads_raspberry_pi.types import TransitionDirection as _TransitionDirection
8+
from leads_gpio.led import LED, LEDCommand
9+
from leads_gpio.types import TransitionDirection as _TransitionDirection
1010

1111

1212
class LEDGroupAnimation(object, metaclass=_ABCMeta):
File renamed without changes.

leads_vec/devices.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
FRONT_VIEW_CAMERA, LEFT_VIEW_CAMERA, RIGHT_VIEW_CAMERA, REAR_VIEW_CAMERA, VisualDataContainer, BRAKE_INDICATOR, \
77
SFT, read_device_marker, has_controller
88
from leads_arduino import ArduinoMicro, WheelSpeedSensor, VoltageSensor
9+
from leads_gpio import NMEAGPSReceiver, LEDGroup, LED, LEDGroupCommand, LEDCommand, Entire, Transition
910
from leads_gui import Config
10-
from leads_raspberry_pi import NMEAGPSReceiver, LEDGroup, LED, LEDGroupCommand, LEDCommand, Entire, Transition
1111
from leads_video import Base64Camera, get_camera
1212

1313
config: Config = require_config()

0 commit comments

Comments
 (0)